Hi Naomi,
>IF thisform.pgfProblemsResolutions.Activepage = 0 && First time
You need to fix this in the designer, not at runtime. Open the form and navigate to the pageframe. The ActivePage property is probably 1 in non-bold. Press enter to make it bold and force VFP to store the property.
As for the behavior... I've seen weird things going on when the form became visible before Init completes. This happens when you call SetFocus of an object. That's why our base class has code in the SetFocus method that validates the calling stack for any Init method and issues a warning in this case.
Another candidate for causing problems is WAIT WINDOW while the form is not visible. Because the WAIT WINDOW is the first visible window, some Windows code treats this as the main window and sets the focus to this window. When the WAIT WINDOW is closed, the focus has already been transfered. hence, the actual form is not activated any more.
--
Christof