Mmm dunno exactly, I think not btw. However, creating a new window with child objects shouldn't be rocket science.
Et Voila, a new window with all your gadgets has been created.
Alternatively:
Alternatively:
Function MakeMyWindow:tgadget() Local Window:tgadget=CreateWindow(yadayadayada) .. CreateButton(yadayadayada,..,..,..,Window) .. Return Window End Function
Et Voila, a new window with all your gadgets has been created.
Alternatively:
Function MakeMyWindow(parent:tgadget) .. CreateButton(yadayadayada,..,..,..,parent) .. End Function
Alternatively:
Type WindowContent field window:tgadget field button:tgadget field slider:tgadget field editfield:tgadget End Type function FillWindow(w:WindowContent) w.window=CreateWindow(yadayada) w.button=CreateButton(whoopiedoo) w.slider=CreateSlider(bidibidi) w.editfield=CreateEditfield(mimimimi) end function local myWindowContent:WindowContent=new WindowContent FillWindow