[Gambas-user] ListBox selection

Demosthenes Koptsis demosthenesk at ...626...
Wed Jun 15 13:08:39 CEST 2011


Thanks for the answers. They are really well explained!

On Wed, 2011-06-15 at 12:51 +0200, tobias wrote:
> but to answer your question
> "is there a way to get in an array the selected items?"
> 
> no, this isn't possible because .ListBoxItems are virtual objects you 
> can't store them into arrays but they only have .Selected and .Text, you 
> know they're selected so the only thing you may need is .Text (as 
> supposed in a String-Array) or if you want to modify those values, i 
> suggest you returning the indices and referencing the .ListBoxItems with 
> them again...
> 
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list