Class UICHILDWINDOW

Name

UICHILDWINDOW  --  Class of child window.

Synopsis

 UIChildWindow([<caption>],<parent>,[<name>])	--> UIChildWindow object
 
 
 
 
 
 
 
 
 
 
 
 
 

Description

Class UIChildWindow.

Attributes

<className> - Class name. Value should be "UIChildWindow".
<name> - Window name defined in constructor.
<userSpace> - Layout for widget placement. UIVBox object.

Methods

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.
SETCAPTION Set new child window caption.
SETFOCUS Set focus to specified widget.
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.

Method UICHILDWINDOW:ADD()

 add(<o>,[<expand>],[<fill>],[<padding>])

Method UICHILDWINDOW:ADDEND()

 addEnd(<o>,[<expand>],[<fill>],[<padding>])

Method UICHILDWINDOW:CLOSE()

 close()

Method UICHILDWINDOW:DIALOGBOX()

 dialogBox(<caption>,<text>,[<buttons>],[<buttonNames>],[<action>])

Method UICHILDWINDOW:GETOBJ()

 getObj()	--> <object>

Method UICHILDWINDOW:GETVALUES()

 getValues()	--> <array>

Method UICHILDWINDOW:ISCHANGED()

 isChanged()	--> <bChanged>

Method UICHILDWINDOW:RETURN()

 return(<val>)

Method UICHILDWINDOW:SETCAPTION()

 setCaption(<caption>)

Method UICHILDWINDOW:SETFOCUS()

 setFocus(<obj>)

Method UICHILDWINDOW:SETID()

 setId(<id>)

Method UICHILDWINDOW:SETNAME()

 setName(<name>,<o>) --> <o>

Method UICHILDWINDOW:SETOBJ()

 setObj(<obj>)

Method UICHILDWINDOW:SETPANELS()

 setPanels([<menu>],[<toolBar>],[<statusBar>])

Method UICHILDWINDOW:SETVALUES()

 setValues(<values>)

Method UICHILDWINDOW:SHOW()

 show()

Method UICHILDWINDOW:VAL()

 val(<name>)

Example:

 win := UIMainWindow("Main window")
 win:setMDI()
 childWindow := UIChildWindow("Child window", win, "child")
 
 childWindow:show()
 win:show()
 

Platforms

No dependies of platform.