Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance some of the time but not all of the time?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00186503
Message ID:
00187071
Views:
23
>Jim,
>
>No there is no code in the combo from the class. After thinking about it and tracing this I've come a puzzling result. The code in the class the combo is based on is getting run. If it wasn't then the combo would have scrolled through the items with UPARROW/DNARROW. So the code is running in both cases but the only difference between the code being in the combo's methods or the class's is that when in the class the combo.Value is blanked after leaving the control. This I can't understand. Any thoughts based on this?

Colin,

Yes, in changing the style property you change the combo from list to combo. When combo keystrokes blank out the value (since the combo style allows entry of values that are not in the list). Once focus moves off the combo the value does not equal any item in the list so the displayvalue is blank.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform