|
-
Apr 21st, 2003, 06:49 PM
#1
Thread Starter
New Member
combobox items
Ok, i have a list in the combobox, and i have the ItemData.. now whenever i put the value for the item (eg 1,2,3, etc.) it resets to 0, what is going on, and how can i go around this?
-
Apr 21st, 2003, 06:54 PM
#2
Frenzied Member
I dont really understand the question, but what code are you using at the moment?
-
Apr 21st, 2003, 06:57 PM
#3
Thread Starter
New Member
this:
PHP Code:
Combo1.ItemData(Combo1.ListIndex)
I have a list, and each one has a different number associated to it, so here is a sample of what i mean:
General = 1
News = 2
Games= 13
Time = 3
But when i use the ItemData property to place the values, the simgle digit numbers get reset to 0..
-
Apr 21st, 2003, 07:20 PM
#4
VB Code:
Combo1.AddItem "General"
Combo1.ItemData(Combo1.NewIndex) = 1
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
|