in project i have list1
list1 items as below
demo1(30)
demo2(12)
demo3(35)
how do i get the value out of (35) selected item into label1
i need to make an if statement out of it using command1 button when item is selected hit command1 and it should return a value of selected item to label1
if list1.text="35" then
labe1.caption = "this item has 35"
else
what ever
end if
list1 items as below
demo1(30)
demo2(12)
demo3(35)
how do i get the value out of (35) selected item into label1
i need to make an if statement out of it using command1 button when item is selected hit command1 and it should return a value of selected item to label1
if list1.text="35" then
labe1.caption = "this item has 35"
else
what ever
end if