Hi!
Try following:
In the LostFocus event of the last control of page put following code:
if LastKey()=9
this.parent.parent.ActivePage = 2
this.parent.parent.Page2.MyTextBoxonPage2ThatShouldGetFocus.SetFocus()
endif
HTH.
>I have a PageFrame with 3 pages. When adding a new record, I am able to Tab through all the items on the first Page (this is the behavior I want), but when the last item on that Page is tabed through, I would like the 2nd Page brought up with the cursor in the first field on the 2nd page (so that the user doesn't have to actually click on the 2nd Page).
>
>Can someone tell me the best way to do this.
>
>Thanks,
>Mel Cummings
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.