Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe Click - Programatic vs manual
Message
De
12/04/2000 01:15:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00358529
Message ID:
00358543
Vues:
15
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform