Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form - close button
Message
De
07/02/2007 09:05:23
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Allemagne
 
 
À
07/02/2007 07:55:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01193159
Message ID:
01193190
Vues:
6
>>Hi All,
>>
>>Does anybody know how to intercept the click event of the close button top right on the form ("X-Button")?
>>
>>A click on this button activates first the Destroy() method and then the Unload() method in the form, but I would direct this click to a user defined method, like e.g. Thisform.OnClose(), but I do not know, how to use BindEvent(..) in this case. I want to have the sequence (OnClose() -> Release() -> Destroy() -> Unload()) which I can easily do with the usual Exit-Button-Click event.
>>
>>Any ideas welcome!
>>
>>Thanks in advance.
>>
>>Hans
>
>On shutdown?

Sorry Tore, does not work!

btw: I have placed an "activate screen" & "? 'thisform." in all relevant methods, so it is easy to follow the event-sequence.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform