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.comICQ #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.