Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programmatically activate a page?
Message
From
03/06/2010 13:52:34
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01467053
Message ID:
01467237
Views:
108
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I know it should be simple, but from the method's code I want to check certain conditions and activate a particular page.
>
>I've tried
>
>
>thisform.pageframe1.ActivePage = 4
>
>and also
>
>thisform.pageframe1.Page4.Activate()
>
>and it didn't work. What should I do to activate the page?
>
>Thanks in advance.

thisform.pageframe1.Page4.Activate() is a Event, is not a directive action.

ActivePage =
can work.

Page.SetFocus is the master way.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform