General information
Category:
Forms & Form designer
>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
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