Skip to content

LoadIconStrip

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
BlitzPlus

LoadIconStrip

LoadIconStrip:Int32 file:String
Parameter Mode Type Default Description
file In String required Picture file with the icons.

Returns: A handle for the icon strip.

Description

Loads a picture of icons placed side by side to use for the entries of list boxes, combo boxes and tabbers. Hand the result to SetGadgetIconStrip. The icons are squares with the height of the picture.

Examples

Graphics 320, 240, 32, 2
strip = CreateImage(32, 16)
SetBuffer ImageBuffer(strip)
Color 255, 0, 255 : Rect 0, 0, 32, 16, 1
Color 200, 40, 40 : Rect 2, 2, 12, 12, 1
Color 40, 140, 40 : Oval 18, 2, 12, 12, 1
SaveImage strip, "icons.bmp"
SetBuffer BackBuffer()
icons = LoadIconStrip("icons.bmp")
Notify "Strip " + icons
FreeIconStrip icons

Related Commands

EnableToolBarItem, FreeIconStrip, SetGadgetIconStrip, SetToolBarTips

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally