SetToolbarIcons?

BlitzMax Forums/BlitzMax GUI Programming/SetToolbarIcons?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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