| | 107 | |
| | 108 | To be able to choose an item in the Listbox use |
| | 109 | |
| | 110 | {{{ |
| | 111 | item:setSelectionBrushImage("TaharezLook", "MultiListSelectionBrush") |
| | 112 | }}} |
| | 113 | |
| | 114 | The selected item is received when calling |
| | 115 | |
| | 116 | {{{ |
| | 117 | list:getFirstSelectedItem() |
| | 118 | }}} |
| | 119 | |
| | 120 | If nothing is chosen, the function returns ''nil''. |
| | 121 | |
| | 122 | To react on events use |
| | 123 | * ''ListItemsChanged'' - For changed content of the list |
| | 124 | * ''ItemSelectionChanged'' - If the selection of an item changed |
| | 125 | |
| | 126 | Other events are easy to figure out from their documented event name. Just drop the ''Event'' and you're good to go. |