Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know what object lost the focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260617
Message ID:
00261151
Views:
17
Jose,

You could make this easier and get rid of the macro

>"command button Finishess(click event)"
>cLastFocus = ThisForm.Lastfocus + '.'
>ThisForm.&cLastFocus.SetFocus

"command button Finishess(click event)"

evaluate( "ThisForm." + thisform.LastFocus + ".SetFocus()" )
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform