Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select a page on a page frame
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00431896
Message ID:
00431902
Views:
14
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform