Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending Focus in Destroy event
Message
 
 
À
17/04/1998 08:26:24
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092828
Message ID:
00092905
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform