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

No problem.

I feel like such a dope but I guess this was one of those dumb things I've never bumped into before.

So... Since Whil has gone on to fame and glory and I've remained as obscure as possible which way should you dress? *bg*

Best,

DD

>Glad I could help.
>
>I finally got to return the favor of getting to hear you and whil debate at my first Devcon about client issues! I particularly remember how you guys purposefully dressed differently to get a point across of first impressions on a client.
>
>Rick
>
>>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