Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe Click - Programatic vs manual
Message
 
 
To
12/04/2000 01:15:50
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00358529
Message ID:
00358544
Views:
12
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
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform