Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate combobox in grid
Message
From
20/02/1998 13:55:16
 
 
To
20/02/1998 13:10:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00080149
Message ID:
00080165
Views:
20
>I'm still wrestling with this issue. I've got the validation routine in the LostFocus method for a combobox in a grid column. If the validation routine returns .f., LostFocus does NODEFAULT which leaves the combobox as the object with focus. This works fine as long as the user tabs off the combobox. If however, the user uses the mouse to select another page (for example), the focus moves to the new page. I really want the user to not be able to move focus away from the combobox until a valid entry has been made. Is this possible? If so, how?
>
>thanks in advance.
>
>Steph

I guess you could 'validate' entry in Combo.InteractiveChange event, i.e. prevent user from selecting invalid values at all.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform