>>> You have put Wait Window in the Parent form_Load Init, and of cource pagecount_assign will fired before it
>
>Sorry, I don't see why a pagecount_assign should ever fire before a load regardless of where in class heirarchy it is placed.
>
>Event firing sequence is;
>
>Data environment - BeforeOpenTables
>
>Form set - Load
>Form - Load
>
>Data environment cursor(s) - Init
>Data environment - Init
>
>Objects - Init
>
>Form - Init
>Form set - Init
>
>Since objects are not initialised untill after a form.load, they should not be in a position to file off events like an assign event.
>
>Gary.
Gary,
You are right. It doesn't have to do something with class hierarchy. It happens and in load event though the inits didn't run yet object properties are set and accessible.
I rely on calling a "setups.prg" in DE.BeforeOpentables(). You don't need to add it manually to all your forms. You can run a little looping code that would add the code to each form in a folder.
Cetin