Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox init value is blank
Message
From
22/07/2000 14:03:27
 
 
To
22/07/2000 13:51:50
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00395886
Message ID:
00395889
Views:
10
>If a combo's rowsource is a field, what would keep it from initially displaying the 1st record? IOW when the form comes up, the combo is blank, but when dropped down, all the selections are there.
>
>Thanks
>JD

Hi Jimmy.
Check controlsource of combo. If controlsource of combo is empty. place to combo init next lines:

if combo.ListCount>0
combo.ListIndex = 1
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform