Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21273

[RESOLVED] list1 get count urgent

$
0
0
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

Viewing all articles
Browse latest Browse all 21273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>