07-05-2007, 06:09 PM
Hi All,
Is there an easy way for a user to turn on/off the display of a toolbar (by a keyboard stroke or other mechanism) or even better a whole set of macros& functions (running together as a mini-application), preferably by a (by a keyboard stroke or other mechanism). In this way, the associated toolbars will come down and the triggers will be turned off).
I set a global variable to toggle through the global manager technique:
int+ g_xxx
int toggle
sel g_xxx
,case 0; toggle=0
,case 1; toggle=1
...
g_xxx+1
if(g_xxx>=numberofmacros) g_xxx=0
Then placed
if toggle=0; ret
into the beginning of the macro. Is there a more elegant reliable way of doing this?
Is there a best way to change the menu text (e.g. faded), if the toggle=0 (off).
I can use my QM skills to get this to work, but sometimes there is a much simpler way out there for this seemingly common task.
Thanks!!
Stuart
Is there an easy way for a user to turn on/off the display of a toolbar (by a keyboard stroke or other mechanism) or even better a whole set of macros& functions (running together as a mini-application), preferably by a (by a keyboard stroke or other mechanism). In this way, the associated toolbars will come down and the triggers will be turned off).
I set a global variable to toggle through the global manager technique:
int+ g_xxx
int toggle
sel g_xxx
,case 0; toggle=0
,case 1; toggle=1
...
g_xxx+1
if(g_xxx>=numberofmacros) g_xxx=0
Then placed
if toggle=0; ret
into the beginning of the macro. Is there a more elegant reliable way of doing this?
Is there a best way to change the menu text (e.g. faded), if the toggle=0 (off).
I can use my QM skills to get this to work, but sometimes there is a much simpler way out there for this seemingly common task.
Thanks!!
Stuart