Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible Pages on a PageFrame
Message
From
24/07/2007 19:03:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/07/2007 18:51:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01243335
Message ID:
01243339
Views:
24
>I have code that removes and adds pages from a pageframe as needed, but I want to do something different. I want the pages to exist but just be invisible and not accessible by the user. This is because I have code in the pages that I call from page1 and I want that code to run even if the user doesn't access or need to see the other pages. Granted, the code could be moved but I would prefer to leave the code as is but just make the additional pages invisible if possible. For some users the pages will be visible and accessible, but others they should only see 1 page tab. Anyone seen anything like that? Right now I have the other pages enabled = .F. when the user doesn't want to use them, but I would like them to be hidden, but not removed. I don't want to remove them, nor do I want to remove the tab for the 1st page nor do I want to stretch the tab all the way across when the other pages are not there.

Page doesn't even have a .visible property, and its position is determined by the pageframe - i.e. it doesn't even have a .top, .left etc.

So... your option is to simulate pageframe with a tabstrip and overlapping containers. They can be visible or not any way you like.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform