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

List
A list allows the user to select one or more objects from a list, and internally handles scrolling. The following example list has three items, the first is selected and the last is disabled, allows to select multiple items.
<list selection="multiple">
  <item text="List" selected="true" />
  <item text="Item"/>
  <item text="Disabled" enabled="false" />
</list>

Parameters
NameTypeDefaultDescription
selectionchoicesingle Possible values are: single, interval, and multiple. The default single value allows to select one list item at a time, the interval value to select one contiguous range of items, and the multiple value to select one or more contiguous ranges of items.
actionmethodnull Calls the method whenever the selection changes.
name, enabled, visible, tooltip, width, height, colspan, rowspan, weightx, weighty, halign, and valign parameters are similar to component


Item
List contains items, items display a short text string and an image and can be selected.

Parameters
NameTypeDefaultDescription
selectedbooleanfalse True if the item currently selected.
name, enabled, text, icon, and alignment parameters are similar to combobox choice

Keyboard-actions
OperationAction
Up arrowSelects previous item
Down arrowSelects next item
HomeSelects first item
EndSelects last item
Page UpSelects item one view up
Page DownSelects item one view down
+ShiftExtends selection
+CtrlSet lead item
SpaceSelects lead item
Ctrl-A, Ctrl-SlashSelects all
Ctrl-BackslashDeselects all
Tab, Shift-TabNavigate forward, backward

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