Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does quit (in a form) fire unload?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059261
Message ID:
01059307
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform