Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting first field and exiting last
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00155566
Message ID:
00156434
Views:
30
Thanks, Erik - I didn't think this through. EVAL() is definitely cleaner.

Barbara

>I think a cleaner (and more dependable) way to handle this would be to get an object reference using EVAL, and then call setfocus with that reference:
>
>IF this.name = thisform.lastcontrol
> oControl = EVAL(thisform.FirstControl)
> oControl.setfocus()
>ENDIF
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform