I think this should be
Thisform.pageframe1.activepage = 1
This should switch to Page 1
Then set focus!
See U :>
Aaron
Best regards,
Aaron Chu
********************************************************
Working with Visual FoxPro is a lot of FUN!
********************************************************