Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids Validation
Message
 
To
07/02/2005 09:03:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00984419
Message ID:
00984421
Views:
12
>I have a simple form that consists of a pageframe with two pages and Grids on a page 1. When I select page2 I am doing data validation of the Grids.
>For that I have code in Deactivate event. If I have to stop from switching pages I am using the following code:
>NODEFAULT
>RETURN .F.
>in the Deactivate.
>That works fine and pages dont change. But the grids on the page 1 do not get the focus back. How can I position focus back to the grids?
>
>Thanks, Mark
NODEFAULT
thisform.Page1.grid1.SetFocus()
RETURN .F.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform