Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Dan-
>
>I added a button to my test form that, when clicked, tells me what activePage is. When Page3 (which is the last page, since I moved Page4 to the front) is active, activePage does = 4, as expected. And, when Page4 is active, ActivePage does equal 1.
>
>I'm using VFP 6.0 w/ SP3.
>
>I reordered these pages in design, not during runtime.
>
>I still don't know what the actual result is. Does the active page change (even if incorrectly)? If not, then if you have the code in an event, you may need to add a NODEFAULT.
Ok. Now try this in the button.
?THISFORM.PageFrame1.Pages( THISFORM.PageFrame1.ActivePage ).Name
I'm guessing the example above when the ActivePage is 4, the name of the page will return "Page4".
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement