Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restoring the focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00093549
Message ID:
00093651
Views:
31
Hey Kenneth,

>I want to set the focus back to the previous active control
>when a button is pushed.
>
>How can I know which is the previous active control?

You might want to try RETURN(-1) which will move the focus back 1 control in the tab order.

Hth,
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Previous
Reply
Map
View

Click here to load this message in the networking platform