Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding a particular page tab
Message
From
12/01/2000 20:22:55
 
 
To
12/01/2000 19:52:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00317317
Message ID:
00317358
Views:
24
>You can't hide the page, but you can remove it. In the PageFrame.Init, you can:
>IF !AllowAccess("Page2")
> This.RemoveObject("Page2")
>ENDIF

That might be the simplest because you probably won't want the "hidden" page back while the form is stilling open (making an assupmtion about the conditions).

Just comb the code to make sure you aren't referencing Pages that don't exist or aren't what you expect in the Pages array after they're gone.
Previous
Reply
Map
View

Click here to load this message in the networking platform