Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release pad in the menu clean up code
Message
De
12/07/2004 08:12:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/07/2004 08:08:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00923251
Message ID:
00923252
Vues:
21
>i want to release a pad in my own menu. if i want to release a bar, i simply put a no. in the bar # then put release bar 990 of ([a_mainmenu(4)] in the clean up code of the menu.
>
>how can i do this for the pad?

I found manipulating a menu - and especially taking items away - quite complicated. Let me point out an alternative, which may, or may not, be appropriate for you: use PUSH MENU, add an item or several, and then use POP MENU to get the menu back to its previous state.

Also, it helps to keep some things out of the menu. For instance, I seldom place commands used to open forms, into the menu. Instead, I use an "open" form (provided by the framework I use) that lists the forms available, depending on user rights.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform