To test my math skills in VB, I'm making a currency converter. I have 2 Listboxes, one with the starting country, the second with countries you would like to convert the currncy to. How can I see what is highlited in the listboxes?
Steve
Printable View
To test my math skills in VB, I'm making a currency converter. I have 2 Listboxes, one with the starting country, the second with countries you would like to convert the currncy to. How can I see what is highlited in the listboxes?
Steve
You need to check the Selected Property of each Item, eg.
------------------Code:Dim iIndex As Integer
For iIndex = 0 To List2.ListCount - 1
If List2.Selected(iIndex) Then
'This Item has been Selected
End If
Next
Aaron Young
Analyst Programmer
[email protected]
[email protected]