Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning focus to the right object in valid with form
Message
 
 
To
09/09/2001 11:44:05
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Netherlands
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00554412
Message ID:
00554423
Views:
9
Instead of RETURN .T. try RETURN 1 or DoDefault()

>Dear all,
>
>I use a form with a couple of textboxes. In the valid event there is the folowing code:
>
>TEST()
>RETURN(.T.)
>
>In test function there is the folowing code:
>
>FUNCTION TEST()
>DO FORMS TEST
>RETURN(.T.)
>
>The FORM is an EMPTY form with:
>
>ShowWindow = 1
>WindowType = 1
>
>When I release the form the focus does not go to the next textbox but to the first textbox !
>
>When I remove the 'DO FORMS' line everyting works fine. How do I call a form from within a valid() and return the focus properly to the next textbox ?
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform