[Gambas-user] ComboBox.List.Insert( Array as String[]) used as a Sub
Bruce
bbruen at ...2308...
Tue Jul 10 14:07:00 CEST 2012
Another one that is bugging me.
I have a combo box that has a list with default items in it. On the fly
I want to add a new set of items that are already in a String[].
But
myCombo.List.Insert(myArray)
just fails silently (nothing gets added and the program just keeps
going). I see that the help actually says that String[].Insert is a
function, viz
Function Insert ( Array As String[] [ , Pos As Integer ] ) As String[]
I have even tried:
Dim useless as new String[]
useless=myCombo.List.Insert(myArray)
to no avail.
Is there a way to insert a String[] into a combobox list?
Bruce
More information about the User
mailing list