|
|
|
Re: Toolbar Change Image Command When Pressed [message #665483 is a reply to message #663539] |
Thu, 14 April 2011 18:41 |
Johan Schulz Messages: 20 Registered: November 2010 |
Junior Member |
|
|
Quote: | So I should implement the interface for every handler and call this method? Before I call this method, I should change the images for every command?
|
You have to implement IElementUpdater for every handler. You can change the image, text, tooltip and dropMenuDownID (if its and toolbar button) in the implemented method from IElementUpdater.
afaik it is called automatically if the handler gets executed but you have to call refreshElements if you would like to change the appearance after some underlying condition has changed.
Johan
[Updated on: Thu, 14 April 2011 18:47] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 2.95012 seconds