|
-
Nov 19th, 1999, 10:00 PM
#1
Thread Starter
Frenzied Member
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
-
Nov 19th, 1999, 11:22 PM
#2
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]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|