Class of child window.
UIChildWindow([<caption>],<parent>,[<name>]) --> UIChildWindow object
| ADD | Add widget to child window from top to bottom. |
| ADDEND | Add widget to child window from bottom to top. |
| CLOSE | Close child window. |
| DIALOGBOX | Show dialog window with message. |
| GETOBJ | Get object with filled fields from window widgets contents. |
| GETVALUES | Get array of values from window widgets. |
| ISCHANGED | Return true if any field in window was changed. |
| RETURN | Send value to window which initiated creation of this window. |
| SETID | Set object identifier changed in this window. |
| SETNAME | Set name for widget. |
| SETOBJ | Fill widgets by object fields. |
| SETPANELS | Attach to window menubar, toolbar and/or statusbar. |
| SETVALUES | Fill widget values from array. |
| SHOW | Show window. |
| VAL | Get widget value by its name. |
win := UIMainWindow("Main window")
win:setMDI()
childWindow := UIChildWindow("Child window", win, "child")
childWindow:show()
win:show()
Andrey Cherepanov <<skull@eas.lrn.ru>>
No dependies of platform.
Add widget to child window from top to bottom.
add(<o>,[<expand>],[<fill>],[<padding>])
Returns NIL.
Add widget to child window from bottom to top.
addEnd(<o>,[<expand>],[<fill>],[<padding>])
Returns NIL.
Close child window.
close()
No arguments
Returns NIL.
Show dialog window with message.
dialogBox(<caption>,<text>,[<buttons>],[<buttonNames>],[<action>])
| <caption> | - String. Caption of dialog. |
| <text> | - String. Text of message. |
| <buttons> | - String. In the string defined array of buttons in message window. For example, "'&Save','&Cancel'". If parameter isn't defined, only one button 'OK' will be shown. |
| <buttonNames> | - String. In the string defined array of name for button. For example, "'SAVE','CANCEL'". |
| <action> | - Code block. Code block which is executed on any defined button on dialog window. As parameters of this call name of pressed button is used. |
Returns NIL.
Get object with filled fields from window widgets contents.
getObj() --> <object>
No arguments
Array of widget values.
Get array of values from window widgets.
getValues() --> <array>
No arguments
Array of values from window widgets. Each element is array consisted from two elements: string with widget name and string with its value.
Return true if any field in window was changed.
isChanged() --> <bChanged>
No arguments
Boolean value. If value is true, one or more window fields was/were changed. False is mean that all fields are unchanged.
Send value to window which initiated creation of this window.
return(<val>)
Returns NIL.
Set object identifier changed in this window.
setId(<id>)
Returns NIL.
Set name for widget.
setName(<name>,<o>) --> <o>
Named widget object.
Fill widgets by object fields.
setObj(<obj>)
Returns NIL.
Attach to window menubar, toolbar and/or statusbar.
setPanels([<menu>],[<toolBar>],[<statusBar>])
| <menu> | - Object UIMenu. Menubar. |
| <toolBar> | - Object UIToolBar. Toolbar. |
| <statusBar> | - Object UIStatusBar. Statusbar. |
Returns NIL.
Fill widget values from array.
setValues(<values>)
Returns NIL.
Show window.
show()
No arguments
Returns NIL.
Get widget value by its name.
val(<name>)
Returns NIL.