General information
Category:
Forms & Form designer
>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".
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only