$CLASSNAME$
	UIChoice
$SUMMARY$
	Class UIChoice
$LANG_RU$
	 UIChoice
$ABOUT$
	Edit field with choice button. Inherits fields and method from class <link linkend="classuiedit">UIEdit</link>.
$LANG_RU$
	     .    <link linkend="classuiedit">UIEdit</link>.
$SYNTAX$
	UIChoice(<action>,[<value>],[<text>])	--> UIChoice object
$LANG_RU$
	UIChoice(<action>,[<value>],[<text>])	-->  UIChoice
$ATTRIBUTES$
	<className>	- Class name. Value should be "UIChoice".
	<button>	- <link linkend="classuibutton">UIButton</link> object. Button for select element.
$LANG_RU$
	<className>	-  . : "UIChoice".
	<button>	-  <link linkend="classuibutton">UIButton</link>.   .

$METHODNAME$
	UIChoice()
$SUMMARY$
	Constructor. Create edit field with choice button.
$LANG_RU$
	.       .
$SYNTAX$
	UIChoice(<action>,[<value>],[<text>])	--> UIChoice object
$ARGUMENTS$
	<action>	- Code block. Action called on button press.
	<value>		- Any type. Value stored in widget.
	<text>		- String. Text in edit field.
$LANG_RU$
	<action>	-  . ,     .
	<value>		-  . ,   .
	<text>		- .    .
$ENDMETHOD$

$METHODNAME$
	setAction()
$SUMMARY$
	Set action for button.
$LANG_RU$
	      .
$SYNTAX$
	setAction(<signal>,<action>)
$ARGUMENTS$
	<signal>	- String. Should be "clicked".
	<action>	- Code block. Action called on button press.
$LANG_RU$
	<signal>	- . : "clicked".
	<action>	-  . ,     .
$ENDMETHOD$

$METHODNAME$
	setValue()
$SUMMARY$
	Set text and id for selected element.
$LANG_RU$
	     .
$SYNTAX$
	setValue(<value>)
$ARGUMENTS$
	<value>		- Array. {<text>,<id>}.
$LANG_RU$
	<value>		- . {<>,<>}.
$ENDMETHOD$

$METHODNAME$
	getValue()
$SUMMARY$
	Get text and id for selected element.
$LANG_RU$
	     .
$SYNTAX$
	getValue()  --> <value>
$RETURNS$
	<value>		- Array. {<text>,<id>}.
$LANG_RU$
	<value>		- . {<>,<>}.
$ENDMETHOD$
$EXAMPLES$
	choice := UIChoice({|| openForm("form.xfl") })

$PLATFORMS$
	No dependies of platform.
$LANG_RU$
	   .
$SEEALSO$
$AUTHOR$
	Andrey Cherepanov <skull@eas.lrn.ru>
$LANG_RU$
	  <skull@eas.lrn.ru>
$LASTDATE$



