Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using skip for options as user rights in menus
Message
De
14/03/2003 14:26:17
 
 
À
14/03/2003 10:25:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00765840
Message ID:
00765986
Vues:
19
You could also use a macro to make the menus work a bit faster on slower machines. In the setup of the menu, assign the memory variables, but store the strings ".T." or ".F." according to the user permissions, then in the SKIP FOR expression use a macro expression (e.g. &cPermit.). Downside to this is that the menus access doesn't change dynamically (i.e. you need to reload the menus if you want the change to occur). The upside is that although macros are in general slower, you only take the performance hit whenever .MPR is executed. I've noticed that if you have a relatively complex menu or relatively complex expressions in your SKIP FORs, the menus will respond very slowly.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform