Notifications
Clear all
[Closed] Macroscript icon change during runtime ?
Feb 17, 2009 8:42 am
Hi all,
I was wondering if it was possible to change the icon used by a macroscript depending on its state. Imagine for example a play button that changes to a pause button and vice versa.
Thanks !
6 Replies
Feb 17, 2009 8:42 am
not directly – what you can do is overwrite the original icon files (*_24i.bmp, *_16i.bmp) and then call “colorman.reInitIcons()”.
Note: That call is fairly slow and the entire user interface will flash.
Feb 17, 2009 8:42 am
I wonder if there is a faster way than colorman.reInitIcons(), maybe just reload one file ??
And then call updateToolbarButtons()
Feb 17, 2009 8:42 am
‘fraid not – that’s what I tried at first, but it doesn’t pick up on the changed icon file
Feb 17, 2009 8:42 am
Hum, I’m afraid it’s not possible then, too bad !
Thanks for the replies.