Class for document window. It inherits properties and methods of class <ulink linkend="classuichildwindow">UIChildWindow</link>.
UIDocument([<caption>],<parent>,[<name>]) --> UIDocument object
UIDOCUMENT | Constructor. Create child window with button bar at bottom and scrolled region for widget placement. |
/* Create main window and document window */ win := UIMainWindow("Main window") win:setMDI() docWindow := UIDocument("Document", win, "doc") /* Add edit field and button for close document window */ docWindow:userSpace:add(UIEdit()) docWindow:actions:add(UIButton(, "&Close", {|| docWindow:close() } ))) /* Show these windows */ docWindow:show() win:show()
Andrey Cherepanov <<skull@eas.lrn.ru>>
No dependies of platform.
Constructor. Create child window with button bar at bottom and scrolled region for widget placement.
UIDocument([<caption>],<parent>,[<name>]) --> UIDocument object
Returns NIL.