Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing Combo To Fire Valid When Losing Focus
Message
 
 
To
20/09/2000 18:13:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00418762
Message ID:
00418791
Views:
24
>>After programming with VFP since 1995, I have finaly decided to solve the problem of a combo box not firing the valid event when it loses focus. I have tested the following and it appears to work fine. Before I add this to my combo baseclass anyone have any comments?
>>
>
>The only time this behavior should occur is with combo.Style = 2 - since this should mean that all list entries are valid input values, and therefore the Valid() is unnecessary.
>IMNSHO, what should occur for the dropdown list types of comboboxes is that the list should be limited to only valid entries before it receives focus.

One invalid state can exist, with a dropdown list. You have just added a blank record to a table and you require a value to be filled it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform