Convert TIconStrip to Image or Pixmap?

BlitzMax Forums/BlitzMax Beginners Area/Convert TIconStrip to Image or Pixmap?

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.

The icon strip already contains a pixmap, but if it's for another gadget you can reuse the icon strip without problems.

To get the pixmap:
Local pixmap:TPixmap = IconStrip.pixmap
Or reuse it like this:
SetGadgetIconStrip(AnotherGadget,IconStrip)