[Gambas-user] how to fill combobox with specific index from a array matrix

PICCORO McKAY Lenz mckaygerhard at ...626...
Fri Jan 31 20:19:41 CET 2014


errr about collection another question.. documentation are not cleary
how to use..

its creatable ?

http://gambasdoc.org/help/lang/collection?cs&v3

dim pep as new collection?

in that link does not show how to instanciate/create/make a var of type
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com


On Fri, Jan 31, 2014 at 2:16 PM, PICCORO McKAY Lenz
<mckaygerhard at ...626...> wrote:
>> However, if you want to use
>> strings as indices, you better forget about String[] (which only accepts
>> integer indices) and use Collection.
>
> does gambas provide collections in same way of java does?
>
>> However, if you want to fill a ComboBox, you cannot pass a string as the
>> second argument to Add()...
> sorry, i forgett to make a CInteger(Val(stringvalue) ) conversion in
> that lines..
> but its same, i wnt to manually set the index of the combobox..
>
>
> ANOTHER QUUESTION
>
> dos the combobox object support non sorted index i mean idex not
> complety in sequence such as:
> 1:pepe
> 3:pablo
> 4:jhon
> 5:blair
>
> in this collection the index "2" are missing... dos combobox's suport
> manually set that ?




More information about the User mailing list