Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox
Message
From
10/03/1999 14:10:07
Ian Johnston
Computer Software Solutions
Woodland, California, United States
 
 
To
10/03/1999 13:41:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00195974
Message ID:
00196008
Views:
32
>>>>I have a combobox that in the drop down shows two fields for selection, is there a way once the selection has been made to have both fields show in the combobox?
>>>
>>>Basically, combo will show (in text portion) what is hosted by the first column of the selected item. Therefore, you may do following trick: have three-column combo and populate the first column with concatenation (or something even fancier) of the other two columns. Set Combo.ColumnWidth=0 so the first column will become 'invisible' and set BoundColumn properly.
>>
>>What do you set the rowsourcetype to ?
>
>You may build cursor or scan and fill the combo using AddListItem()

It works great.
Thanks
Ian
Previous
Reply
Map
View

Click here to load this message in the networking platform