Hi Nadya
>Well, you do THIS.pgf.ACTIVEPAGE = 1
>Without it the first control is not selected the first time the form is activated. So, in order to not execute Page.Activate, Page.Deactivate and perhaps a plehora of other methods, I set ActivePage to 0 in design time. Now everything works fine for me and I avoided the overhead.
Means you can avoid MereMortals.SetFocusToFirst() method? Sorry to sound dense.
>MereMortals framework has SetFocusToFirst method, which is very similar to what you wrote and uses a recursion.
Aah got to think in that terms. But my main aim for this was to switch to the first page and first control not the activated page's first control.