Class UIWINDOW

Name

UIWINDOW  --  Class of separate window.

Synopsis

 UIWindow([<caption>],<parent>,[<name>],[<close>],[<resizeable>])	--> UIWindow object
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Description

Class UIWindow.

Attributes

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

Methods

CHILDCLOSE Close current child window.
CHILDCLOSEALL Close all child windows.
CLOSE Close window.
DIALOGBOX Show dialog window with message.
GETGEOMETRY Get size and position of window.
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.
SELECT Send value for UIChoice to window which initiated creation of this window.
SETCAPTION Set new window caption.
SETDEFAULT Set button as default in window.
SETFOCUS Set focus to specified widget.
SETGEOMETRY Change size and/or position of window.
SETICON Set icon for the window.
SETID Set object identifier changed in this window.
SETKEYEVENT Set action to shortcut in the window.
SETMDI Create area for child window placement. This method must be call after placement of menu. toolbar(s), statusbar and/or other fixed element(s) into window.
SETNAME Set name for widget.
SETOBJ Fill widgets by object fields.
SETPADDING Set window border width.
SETPANELS Attach to window menubar, toolbar and/or statusbar.
SETPLACEMENT Set window at center of the screen.
SETSPACING Set space between widgets in window.
SETVALUES Fill widget values from array.
SHOW Show window.
UNSETKEYEVENT Unset action from shortcut in the window.
VAL Get widget value by its name.

Method UIWINDOW:CHILDCLOSE()

 childClose()

Method UIWINDOW:CHILDCLOSEALL()

 childCloseAll()

Method UIWINDOW:CLOSE()

 close()

Method UIWINDOW:DIALOGBOX()

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

Method UIWINDOW:GETGEOMETRY()

 getGeometry()	--> <aRect>

Method UIWINDOW:GETOBJ()

 getObj()	--> <object>

Method UIWINDOW:GETVALUES()

 getValues()	--> <array>

Method UIWINDOW:ISCHANGED()

 isChanged()	--> <bChanged>

Method UIWINDOW:RETURN()

 return(<val>)

Method UIWINDOW:SELECT()

 select(<table>,<column>)

Method UIWINDOW:SETCAPTION()

 setCaption(<caption>)

Method UIWINDOW:SETDEFAULT()

 setDefault()

Method UIWINDOW:SETFOCUS()

 setFocus(<obj>)

Method UIWINDOW:SETGEOMETRY()

 setGeometry(<geom>)

Method UIWINDOW:SETICON()

 setIcon(<pic>)

Method UIWINDOW:SETID()

 setId(<id>)

Method UIWINDOW:SETKEYEVENT()

 setKeyEvent(<cKey>,<action>)

Method UIWINDOW:SETMDI()

 setMDI()

Method UIWINDOW:SETNAME()

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

Method UIWINDOW:SETOBJ()

 setObj(<obj>)

Method UIWINDOW:SETPADDING()

 setPadding(<space>)

Method UIWINDOW:SETPANELS()

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

Method UIWINDOW:SETPLACEMENT()

 setPlacement(<centered>)

Method UIWINDOW:SETSPACING()

 setSpacing(<space>)

Method UIWINDOW:SETVALUES()

 setValues(<values>)

Method UIWINDOW:SHOW()

 show()

Method UIWINDOW:UNSETKEYEVENT()

 unSetKeyEvent(<cKey>)

Method UIWINDOW:VAL()

 val(<name>)

Example:

 win := UIWindow("Dialog")
 win:setPlacement( .T. )
 win:show()
 

Platforms

No dependies of platform.