PDA

View Full Version : ListBox question



Solmos
03-23-2007, 08:51 PM
Hi!

since I can do so that the example that I put to you to continuation, it gives back to me I number that this showing listbox?

thanks

Example

http://www.box.net/shared/yxbx9mdmog

Mina
03-24-2007, 02:18 AM
On Select:


sel = ListBox.GetSelected("ListBox1");
selc = sel[1]
retu = ListBox.GetItemText("ListBox1", selc);
Label.SetText("Label2", '"'..retu..'"');

Solmos
03-24-2007, 03:39 AM
thanks, but are not this to which me referia of the form that you put, it is necessary to be selecting I number that one is.

ami gustaria me who, for example: if it is seen I number 4 in listbox, me debuelva I number 4, and if pulse upwards, gives back to me I number 3 or downwards I number 2 without having to select nothing.