Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box cannot display an empty character
Message
 
To
29/12/2000 17:46:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00457981
Message ID:
00457996
Views:
27
A combo can only display what's in its RowSource. What I would do is use an array property for the RowSource, and have a method that refreshes that array, adding a blank to it.

>Hello everyone,
>
>When I launch my form containing a combobox I need to display an empty character
>as the default value. I have been trying several things but can not get it to work. Below are my design setting for the combobox.
>
>
>boundcolumn = 2
>boundto = .t.
>controlsource = consultant_id
>
>rowsource = SELECT name, consultant_id FROM Consultant ORDER BY name INTO CURSOR ConsultantList WHERE consultant_department='INVESTMENT'
>
>RowSourceType = 3
>style = 0
>
>Thanks,
>Sergio
Previous
Reply
Map
View

Click here to load this message in the networking platform