>let FormInitiated be that property and MyActivation be the method, you
>set FormInitiated to .t. in the Init event, and in the Activate event
>you put
Thanks for the suggestion. But, here is more information.
I have about 100 lines in my Load(), about 500 lines in my Init() and about 20 lines in my Activate(). So, as you see, all my robust code are mostly handle at the form creation. What I have in the Activate() need to be in the Activate() and even if the form is loading, that code has to be executed in the Activate().
For example, if you have a modal form which activate a command on the toolbar. To have the toolbar respond to the form, it has to come from the Activate().