>Gee, that was quick! I was thinking similarly of adding a property to my pageframe class, called something like lFirstRefresh and setting it to .T. in the Activatepage event and then checking it in the page refresh where needed like
>* Page.Refresh...
>IF THIS.PARENT.lFirstRefresh
> THIS.grd1.setfocus
> THIS.PARENT.lFirstRefresh= .F.
>ENDIF
>
>
>Hows that sound?
Now we get into 'style'. I prefer to put properties like this into the form, rather than the container (pageframe, container object, etc.) because it's so easy to call them as 'thisform.MyProp'. You never have to think about the container's name, or the hierarchy level.
But there's nothing wrong with your method, either.