[Gambas-user] Listview (simple?) problem

Gianni Piccini pastrano at ...431...
Sun Sep 14 15:37:00 CEST 2008


Probably is a stupid question, but I can't resolve without help, due I'm a 
newbie.
I've got a listview, where I add some items: for example,

aaa
bbb
ccc
ddd

I need to select an item, for example "ccc", and then move with the 
previous. I think that first thing I need is to get the index number of 
selected item ccc (in this case, 2), and then get the text, get the text of 
item 1, bbb, then change the value or delete the previous and readd after.
In visual basic, if I don't err, there was the listindex property...
What can I do?
Tia




More information about the User mailing list