And here is some cool code from Mark Mccasland:
for i = 1 to This.ControlCount
if This.Controls(i).TabIndex = 1
This.Controls(i).SetFocus()
Exit
endif
endfor
Although you might want to do some playing around to make sure there's only one tabindex = 1 on your form, or change it so it sets focus to the lowest tabindex instead of the one with 1.
>.activate()
>I routinely put
>thisform.lockscreen = .t.
>thisform.refresh
>thisform.lockscreen = .f.
>in it
>
>
>>I am trying to find the event/method within the Pages of a Pageframe that fires each time the tab/Page of the pageframe. Any suggestions
>>
>>Thanks in advance.
>>Brian
--Todd Sherman
-Wake Up! Smell the Coffee!