Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How t o Add Item to multicolumn COMBOBOX
Message
From
14/10/1998 09:53:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00146539
Message ID:
00146611
Views:
29
When you additem to a list, you have added the whole row. IOW, after the first additem, you have got both columns available. So, all you need to do is something like the following:


myCombo.AddItem("FirstCol Item",1)
myCombo.list( myCombo.listIndex,2) = "SecondCol Item"
/pre>

You'll want to check the syntax--I've only had 2 cups of coffee this morning ;-)

>myCombo.AddItem("FirstCol Item",1)
>myCombo.AddItem("SecondCol Item",2)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform