Class UICHOICE

Name

UICHOICE  --  Edit field with choice button. Inherits fields and method from class UIButton.

Synopsis

 UIChoice(<action>,[<value>],[<text>])	--> UIChoice object
 
 

Description

Class UIChoice

Attributes

<className> - Class name. Value should be "UIChoice".
<layout> - UIHBox object. Container for edit field and button.
<edit> - UIEdit object. Edit field (read only).

Methods

GETTEXT Get text from edit field.
SETTEXT Set text to edit field.
UICHOICE Constructor. Create edit field with choice button.

Method UICHOICE:GETTEXT()

 getText()	--> <sText>

Method UICHOICE:SETTEXT()

 setText(<text>)

Method UICHOICE:UICHOICE()

 UIChoice(<action>,[<value>],[<text>])	--> UIChoice object

Example:

 choice := UIChoice({|| openForm("form.xfl") })
 

Platforms

No dependies of platform.