>>>I have created a form with a pageframe with TABS set to False.
>>>
>>>I want to access the other pages with a few hot buttons at the bottom of the page.
>>>
>>>I created a command button with the following click code.
>>>
>>>NoDefault
>>>thisform.pageframe1.page2.setfocus()
>>>
>>>Unfortunatly it keeps me on page1 of the pageframe..
>>>Any Ideas???
>>>
>>>TIA
>>>
>>>Rob
>>Try activatepage = nPage instead of setfocus.
>>Cetin
>
>I think there's a typo on Cetin's response. Should be activepage= nPage.
Ooops. Sure it's a typo :) Thanks I didn't noticed it when typed.
BTW Rob this only makes that page active (and show) but not setfocus to a control in it. You should also include it if you want to save your user from a click (ie: UIenable event on each page, first control could have the code this.setfocus() if page is becoming active).
Cetin