ListBox

ListBox

Implements a simple text based list or drop down.

Try It

This shortcode has been elminated and replaced with a newer one. This page is yet to be updated but will be shortly.

Class Reference

ListBox inherits from ListBoxBase

Properties

Index

Type: Int
Default: null

Sets or gets the selected index of the item. Groups are not counted in the indexing and are ignored. A value of null means no currently selected item. Index is 0 based.

Text

Type: String
Default: ''

If read will return the text of the currently selected item, or null if no item is selected. If set, will set the selected item with the specified text. If more than one item with a matching value exists, the first one will be selected. Comparison is case sensitive.

Value

Type: String
Default: ''

If read will return the value of the currently selected item, or null if no item is selected. If no value exists for the selected item, null will also be returned. If set, will set the selected item with the specified value. If more than one item with a matching value exists, the first one will be selected. Comparison is case sensitive.

Events