Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box Bug.
Message
 
To
13/08/1998 19:27:28
Cheryl Qualset
Qualset Computer Consulting
Davis, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00110837
Message ID:
00127072
Views:
55
>Now, ocassionally, when the view is empty, and I refresh the combo or requery the combo, the DisplayValue gets set to CHR(12)! I don't know why. It causes my check for empty to fail. [This happens on a couple of comboboxes, not just the problem one.]
>
>I had to restore DisplayValue to the empty string after the default Refresh().
>
Cheryl,

Don't check DisplayValue for empty, instead check for DisplayValue = Value, that will only be true if the combo has a valid value from the list.
Previous
Reply
Map
View

Click here to load this message in the networking platform