Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate combobox in grid
Message
From
23/02/1998 18:41:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/02/1998 13:10:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00080149
Message ID:
00080616
Views:
19
>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

NoDefault
ThisPage.setfocus (should be probably written as this.parent.setfocus)
This.SetFocus

I guess it would forcibly reactivate the current page, then the combo.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform