>I have a form that accepts parameter in init and depending upon the param,i process some info and display a message box to continue or exit , if the user select exit the form still loads,how to avoid that,
put a Return .F., and the form will destroy and not show to the user.
>and what is the form's loading sequence, i mean which event load's first.
as for the form, the sequence is: load, init, show, activate, gotfocus... (the DataEnvironment.BeforeOpenTables get fired before everything, if DataEnvironment.AutoOpenTables = .T.)
Claudio Lassala