Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is form activate is executing before form load
Message
From
12/11/2002 07:38:37
 
 
To
12/11/2002 07:16:03
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00721382
Message ID:
00721489
Views:
8
Hi!

I do not know CodeMine, but...

Calling something like "Refresh" from Init of the form fires its Activate event BEFORE Init is finished. I guess something like this exists also in your case. Try to do not refresh visual elements till Init of the form is completely finished.

>It runs OK after giving a couple of error messages related to nonexistent properties which are created in the form load. I am guessing that the form is "activated" before it is fully instantiated. What do you think, Gary?
>
>
>>Is the form running OK apart from the odd event sequence or is the form crashing?
>>
>>>I am running a form that descends from frmDataMangerFormCustom form the command window. For some reason, the form.Activate method is running before the form load. Why would that be?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform