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

TextArea
TextArea is a multi-line area that displays plain text and internally handles scrolling.
<textarea text="TextArea" />

Parameters
NameTypeDefaultDescription
textstring'' The text contained in this textarea.
columnsinteger0 The number of visible letters in a column.
rowsinteger0 The number of visible rows for this textarea.
editablebooleantrue The specified boolean to indicate whether or not this textarea should be editable. A not editable area is focusable, and selectable.
wrapbooleanfalse If set to true the lines will be wrapped at word boundaries (whitespace) if they are too long to fit within the allocated width.
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
HomeMoves to beginning of line
EndMoves to end of row or line
Ctrl-HomeMoves to beginning of data
Ctrl-EndMoves to end of data
Up arrowMoves insertion point up one line
Down arrowMoves insertion point down one line
Page UpMoves up one view
Page DownMoves down one view
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
+ShiftExtends selection
Enter, ReturnInserts line-break
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.