Textbox

From UG

(Difference between revisions)
Jump to: navigation, search
(Intro)
Line 2: Line 2:
== Intro ==
== Intro ==
-
[[File:Textbox.png]]
+
 
Easily most used UI control.
Easily most used UI control.
-
See http://docs.zkoss.org/images/6/61/Textbox.png
+
Used to enter text on forms.
 +
 
 +
== Major Attributes ==
 +
 
-
== Attributes ==
+
== Other Attributes ==
=== value ===
=== value ===
Line 54: Line 57:
* see also http://docs.zkoss.org/wiki/Developer_reference_The_XUL_Components_Overview_InputElement
* see also http://docs.zkoss.org/wiki/Developer_reference_The_XUL_Components_Overview_InputElement
 +
 +
== Figures ==
 +
=== Fig 1 ===
 +
[[File:Textbox.png]]

Revision as of 00:26, 21 January 2010


Contents

Intro

Easily most used UI control.

Used to enter text on forms.

Major Attributes

Other Attributes

value

Sets the text value.

rows

Sets the rows. We consider row=1 for textbox. If not we call it Texarea.

type

Values : text | password

constraint

Any.

width

Example: width="50px"

readonly

Values : true|false

Template for spec

UI Control attribute: Value:
rows: 1
data type: text
width: tbd
maxlength tbd
constraint: tbd
default: blank

Links

Figures

Fig 1

File:Textbox.png

Personal tools