Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simulate user clicking close button
Message
 
 
À
13/08/1998 17:48:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00126724
Message ID:
00126730
Vues:
26
You can explicitly call the QueryUnload():
if ( this.QueryUnload() )
   this.Release()
endif
>>How would you go about simulating the user clicking on the close button or double-clicking on the control box of a form. The thing I need is for the queryunload event to fire. The VFP docs state that using the Release method won't fire this event. I tried the MOUSE command and the KEYBOARD command to no avail. Any help is greatly appreciated.
>
>Doh!
>I just moved the code out of the queryunload to the destroy.
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