Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does quit (in a form) fire unload?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01059261
Message ID:
01059307
Vues:
9
>I have an foxpro exe that runs from a shortcut normally. If it is run with a certain parameter from the command line (via "Scheduled Tasks") it should start up, do some processing in the form.init then exit. I have found that you cannot call thisform.release in the init but quit works. If quit is in the form.init will it fire the form.unload method?

You might want to try NODEFAULT before RETURN, in Init method.

PROCEDURE Form.Init
* Processing here
NODEFAULT
RETURN

HTH

Sorin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform