[Gambas-user] Re: Columnview key

Benoit Minisini gambas at ...1...
Tue Dec 27 18:55:51 CET 2005


On Tuesday 27 December 2005 18:44, Rohnny Stormo wrote:
> <
> <
> <If you want to access column view items from a numeric index, then use
> this
> <numeric index as key.
> <
> <You will be always mixed up if you actually have two different keys in
> mind (a
> <numeric index and a string key).
>
> <Regards,
> <
> <--
> <Benoit Minisini
>
> Hi Benoit.
>
> This was pitty and makes things more complex.
>
> Is it possible to get a couple of function added to the columnview in
> later versions?
> Columnview1.item[number].key
> Columnview1.item[number].selected=true/False
>
> or something similar?
>
> Regards Rohnny
>

You can't have two keys for an item, only one. If you want a number to be a 
key, just use it as key. 

MyColumnView.Add(number, text, picture...)

What is the problem with that?

-- 
Benoit Minisini





More information about the User mailing list