hello!
just go and try the following code:
for me it does not work at all. error message: cls() tries to access to a null object...??
just go and try the following code:
Framework bah.gtkmaxgui Import brl.eventqueue Import brl.max2d Local window:Tgadget = CreateWindow("test", 0, 0, 300, 300) Local canvas:tgadget = CreateCanvas(10, 10, 200, 200, window) SetGraphics(CanvasGraphics(canvas)) Repeat WaitEvent() Select EventID() Case EVENT_GADGETPAINT Cls() Flip() End Select Until KeyDown(key_escape)
for me it does not work at all. error message: cls() tries to access to a null object...??