>What is the correct syntax to select a new page of a page frame? When I try:
>thisform.pf1.p2.text1.setfocus nothing happens.
>Thanks
use thisform.pf1.activepage = 2 to set the active page. If you always want .text1 to have focus when page 2 become active, put this.text1.setfocus() in the Activate method for page 2.