Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box : Not showing values unless focus is set to it
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00145892
Message ID:
00145906
Views:
34
>>Hi All,
>>
>> I have faced a major problem with VFP 5.0. I have several Combo boxes on the Form/PageFrame. All of them are bound to data with RowSourceType is set to 6 (Fields).
>> Problem I am having is, when I load the form, none of these combo show values at startup though there is a some value in Value property. It displays these values only if you set focus to it.
>> Is it a Bug or am I missing something?
>>
>> BTH, I am using VFP's Standard Combo and no method is written.
>>
>>Bye
>>Jayesh
>
>Jayesh,
>
>What is the controlsource for the combo? Does the value in the controlsource match one of the items in the combo's list?

Try

THIS.LISTINDEX = 1

in the init of the control.

HTH
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform