Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide pages in pageframe?
Message
From
17/05/2005 10:52:39
 
 
To
17/05/2005 10:46:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01014786
Message ID:
01014923
Views:
25
>Hi Terry,
>
>> I'd ask myself, why do I want to actually hide the pages - so they come as a surprise to the user when they reappear? so he doesn't know of their existence? because you don't want them to access them at a particular time? You could make invisible everything on the page, or make the page disabled, depending on how secretive you want to be.
>
>Thanks for your thoughts. My goal was to simply hide admin only pages that didn't apply to the standard user. The problem with users seeing a disabled tab is that as soon as they know they're not allowed to see it, they want to see it :)
>
>Malcolm

Malcolm

I see - Marc Anthony teasing the mob with Caesar's Will. Nadya rep'd me with "forbidden fruits" :-)

But this led me to think: if you've different users with different priv's then, when invoking the form, couldn't you have, in .Init(), code to put up pages or not, depending on the user's priv's?

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform