Skip to content

SetPanelColor

Claude edited this page Oct 26, 2026 · 5 revisions

SetPanelColor

Command Index · BlitzPlus · Gadgets

SetPanelColor panel%, red%, green%, blue%

Works in: BlitzPlus

Fills a panel with a color.

Graphics 320, 240, 32, 2
win = CreateWindow("Color", 10, 10, 300, 140, Desktop(), 3)
p   = CreatePanel(10, 10, 100, 80, win)
SetPanelColor p, 255, 120, 0
Repeat
Until WaitEvent() = $803
Parameter Type Default Description
panel Int required Handle of a panel.
red Int required Red part, 0 to 255.
green Int required Green part, 0 to 255.
blue Int required Blue part, 0 to 255.

Related commands

Command Index · BlitzPlus · Gadgets

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

Clone this wiki locally