Information générale
Catégorie:
The Mere Mortals Framework
Titre:
CShortCutMenu Class
I need to gray out a menu bar of a ShortCut created by the cShortCut class contained by a From class whose parent class is cBizObjForm.
CBizObjForm class is supposed to have the oShortCutMenu property with a reference to the ShortCutMenu but I can't find this property into this class.
However goApp contains a reference to the cShortCutMenu class into its property oShortCutMenu for a while when the Show() method is being executed.
This object contains a four columns array named aShortCutMenu. I found that the first couple of columns contain the caption and code to execute respectively on selection of the menu bar.
I wonder if the other properties have something to do with the enabling and disabling of that specific menu bar since both contain a .t. value.
Am I getting too complicated here. And probably missing a place in the documentatio that says how to disable a menu bar into the Shortcut?
Thanks for any tips
Oscar
Suivant
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