[Gambas-user] ListBox selection

tobias tobiasboe1 at ...20...
Wed Jun 15 12:51:42 CEST 2011


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...




More information about the User mailing list