Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe Click - Programatic vs manual
Message
From
12/04/2000 01:15:50
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00358529
Message ID:
00358543
Views:
14
Rick,

Thanks.

Best,

DD

>Hi Doug,
>
>The issue here is that Activate is an event method, not a method. In other words, the Activate event fires when a page is activated, it does not activate a page.
>
>To activate a page, set the ActivePage property of the pageframe to the value of the pageorder property of the page you wish to activate:
>
>
>thisform.PageFrame1.ActivePage = thisform.PageFrame1.Page2.PageOrder
>
>or
>
>*-- Heres a way to do it without having to know
>*-- the name of the page object (Page2)
>thisform.PageFrame1.ActivePage = thisform.PageFrame1.Pages(2).PageOrder
>
>
>Rick
>
>>Hi All,
>>
>>When I issue a programatic thisform.PageFrame1.Page2.activate from another page on the page frame I get a different result than when I click manually on the tab. Thing is, both activate the ACTIVATE method.
>>
>>Am I missing something obvious or is there a known issue with this?
>>
>>Best,
>>
>>DD
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform