The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing button depending on Status
#1
Hi All,
I hope I am not missing the answer to this already somewhere in the forum. Anyway, I use a lot of Toolbars and sometimes they change a status - e.g. de-activating a set of triggers (i.e. on/off toggle).

The functionality is easy

Code:
Copy      Help
;;;toggles on/off folders with keyboard triggers
dis "Sample Macros Folder 1" 1
dis  "Sample Macros Folder 2" 1



But I would like some way to have a visual indication of the state - i.e. a different icon or a button that looks "depressed" or to change the text and color of the Toolbar Item.

I geuss I may have to master dialogs to do this - - my major QM weakness!

Perhaps there is a sample floating around that I can reverse engineer!

Thanks,
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)