Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Focus in Destroy event
Message
 
 
To
17/04/1998 08:26:24
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092828
Message ID:
00092905
Views:
18
Like Ed suggested you need to do your check in QueryUnload() and return .f. if you don't want the form to close.

For frame of reference though, by time the Form.Destroy() event fires, there are no controls left to set focus to, they have already been destroyed.

>I click the close button of the title bar form.
>I want to send the focus to a control in a form when i'm in the destroy event, or i must check in another event where it´s still possible to send the focus to a control
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