Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing Pages from Pageframe at run time
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01665827
Message ID:
01665828
Views:
86
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I have a form with a pageframe and 4 pages: Page1, Page2, Page3, and Page4
>
>Sometimes (depending on the user setup) I want only pages Page2 and Page4 visible. So, the Page 1 and Page3 are hidden as if they do not exist.
>
>How do I do it in the INIT of the form?
>
>TIA
oPgFrm = CREATEOBJECT("Pageframe")
oPgFrm.PageCount  =4
oPgFrm.RemoveObject("Page3")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform