|
-
Jul 11th, 2004, 11:33 PM
#10
Originally posted by siomai
hi mendhak! I was checking out the code you posted here and I was just wondering what is the 'ListItemNumeric' in this line?
intID = CType(ListBox1.SelectedItem, ListItemNumeric).ID
thanks! and hope you'd reply on this one...this will really help me cause I'm having the same problem. Take care!
I refuse to believe you have the same problem! ListItemNumeric is a class I created, which holds a Value, and an ID types, which I basically use to populate my listboxes so that I can "use" these values when I'm running a method of some sort.
The line of code that you put there takes the Object in the ListBox, and converts it to ListItemNumeric type and then gets its ID out.
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
|