F O R · R E A L L Y · T H I N · C L I E N T S
 Home  |  Overview  |  Widgets  |  Demo  |  License  |  History 

» Component
» Label
» Button
» CheckBox
» ComboBox
» TextField
» PasswordField
» TextArea
» TabbedPane
» Panel
» Desktop
» Dialog
» SpinBox
» ProgressBar
» Slider
» SplitPane
» List
» Table
» Tree
» Separator
» MenuBar

TextField
TextField component allows the editing of a single line of text. This field has a simple text value.
<textfield text="TextField" />

Parameters
NameTypeDefaultDescription
textstring'' The text contained in this field.
columnsinteger0 The preferred width of the component is fixed (if 0) or calculated by the given value.
editablebooleantrue The specified boolean to indicate whether or not this textfield should be editable. A not editable field is focusable, and selectable.
startinteger0 Start index of the selection.
stopinteger0 End index of the selection, same as the caret position.
actionmethodnull Gives notification (invokes the given method) that there was an insert into the text or a portion of the text has been removed.
name, enabled, visible, tooltip, width, height, colspan, rowspan, weightx, weighty, halign, and valign parameters are similar to component

Keyboard-actions
OperationAction
Right arrowMoves insertion point one character to the right
Left arrowMoves insertion point one character to the left
Ctrl-right arrowMoves insertion point to beginning of next word
Ctrl-left arrowMoves insertion point to beginning of previous word
HomeMoves insertion point to beginning of field
EndMoves insertion point to end of field
+ShiftExtends selection
BackspaceDeletes the previous character
DeleteRemoves the following character
Ctrl-A, Ctrl-SlashSelects all
Ctrl-BackslashDeselects all
Ctrl-XCuts selected text into the clipboard
Ctrl-CCopies selected text into the clipboard
Ctrl-VPastes the clipboard content
Tab, Shift-TabNavigate forward, backward

Copyright © 2002 Robert Bajzat - info@thinlet.com - All rights reserved.