Information générale
Catégorie:
Gestionnaire de menu & Menus
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement