Class UIEDIT

Name

UIEDIT  --  Class of single line text entry.

Synopsis

 UIEdit([<value>])	--> UIEdit object
 UIEditColor([<value>],[<caption>])	--> UIEdit object
 UIEditDate([<value>],[<caption>])	--> UIEdit object
 UIEditFileName([<value>],[<caption>])	--> UIEdit object
 
 
 
 
 
 
 
 
 
 

Description

Class UIEdit

Attributes

<className> - Class name. Value should be "UIEdit".

Methods

APPENDTEXT Append text to field content.
GETGEOMETRY Get size and position of single line text entry.
GETVALUE Get text from edit field.
READONLY Set flag of protection against change content in edit field.
SETACTION Set action executed on content changed.
SETGEOMETRY Change size and/or position of single line text entry.
SETPASSWORD Set flag of suppression normal echo characters while typing. Typed characters is shown as asterisk (for password define).
SETVALUE Put text in edit field.
UIEDIT Constructor. Create single line text entry.
UIEDITCOLOR Constructor. Create single line text entry with button that show color choose dialog.
UIEDITDATE Constructor. Create single line text entry with button that show date choose dialog.
UIEDITFILENAME Constructor. Create single line text entry with button that show file name choose dialog.

Method UIEDIT:APPENDTEXT()

 appendText(<text>)

Method UIEDIT:GETGEOMETRY()

 getGeometry()	--> <aRect>

Method UIEDIT:GETVALUE()

 getValue()	--> <sText>

Method UIEDIT:READONLY()

 readOnly(<flag>)

Method UIEDIT:SETACTION()

 setAction([<signal>],<action>)

Method UIEDIT:SETGEOMETRY()

 setGeometry(<geom>)

Method UIEDIT:SETPASSWORD()

 setPassword(<flag>)

Method UIEDIT:SETVALUE()

 setValue(<value>)

Method UIEDIT:UIEDIT()

 UIEdit([<value>])	--> UIEdit object

Method UIEDIT:UIEDITCOLOR()

 UIEditColor([<value>],[<caption>])	--> UIEdit object

Method UIEDIT:UIEDITDATE()

 UIEditDate([<value>],[<caption>])	--> UIEdit object

Method UIEDIT:UIEDITFILENAME()

 UIEditFileName([<value>],[<caption>])	--> UIEdit object

Example:

 edit := UIEdit("Text...")
 

Platforms

No dependies of platform.