How i can a gadget to add later?
BlitzMax Forums/BlitzMax Programming/How i can a gadget to add later?
| ||
With child.setparent( parent ) it does not function:Strict Local window:TGadget = CreateWindow( "test", 100, 100, 400, 400 ) Local panel:TGadget = CreatePanel( 50, 50, ClientWidth(window) - 100, ClientHeight(window) - 100, Null , PANEL_BORDER ) panel.setparent( window ) ' setparent a method of TGadget While WaitEvent() Select EventID() Case EVENT_WINDOWCLOSE End Default 'nix End Select Wend Does it give another away? |
| ||
Hopefully this will be fixed in the next update. |
| ||
Cool, thx !!! |