Category: BGI GUI
Syntax:
bgiSetActiveCanvas:Void(canvasID:Int)
Void
Sends the next frame's drawing to a canvas: the next b2dCls clears it, and bgiFlipCanvas shows what was drawn.
Takes canvasID (Int); -1 sends drawing back to the main window. An ID that is not a canvas changes nothing.
Returns nothing.
View detailed documentation online
bgiSetActiveCanvas(canvas) b2dCls() ; ... b2d* draw calls ... bgiFlipCanvas(canvas) bgiSetActiveCanvas(-1)
BambooBasic © 2026 Michael Denathorn