SetToolbarIcons?

BlitzMax Forums/MaxGUI Module/SetToolbarIcons?

Grisu(Posted 2007) [#1]
Hey everyone!

Is there a way to change the pixmap currently used by a toolbar gadget "on the fly"? So that the tooltips and gadget stays intact. Just the images displayed are different ones.

The long way would be:
1. FreeGadget(Trailertools)
2. Trailertools:TGadget=CreateToolBar(TrailerButtonIMG,0,-2,0,0,TrailerPan2)
3. SetToolBarTips Trailertools,["Start","Pause","Stopp"]

I was looking for a more elegant solution.

Grisu


MrCredo(Posted 2007) [#2]
alternative is to create many toolbars and hide some of them... but i don't know perfect solution