Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide pages in pageframe?
Message
De
17/05/2005 10:52:39
 
 
À
17/05/2005 10:46:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01014786
Message ID:
01014923
Vues:
26
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform