|
Text Field |
Top Previous Next |
Here is what a text field looks like:
Common Properties Width, Height, Bindings, Enabled, Visible, Foreground, Background, Opaque, Border, Font, Tooltip Custom Properties Text (Default Property) Default text in the text field. Property name: text Property type: String Editable This flag indicates that text in the text field can be changed. The primary difference between non-editable and non-enabled components is that text in a non-editable component is not grayed out and may be selected using the mouse. Alignment Horizontal alignment of text within label display area. Possible values:
Property name: horizontalAlignment Property type: Integer Common Events Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost Custom Events Caret Update This event fires each time when a caret is moved or any text is entered in the component. Event name: caretUpdate |