Append the child item values.
Set its properties, such as multiple , dropdown , and editbox .
Set its callback handlers.
Indeed, the last two points here are optional, as the List does provide default property values, and it is
quite acceptable to supply no callback handler whatsoever, but to rely on another control ??™ s event in order
to access the list ??™ s selected items.
To finalize, the List control supports other properties not yet mentioned. These aren ??™ t discussed, as they
should be greatly relevant to list controls of other GUI libraries for other languages. However, for
completion, you can review these properties in Table 17 - 10 .
??‘
??‘
??‘
??‘
Table 17-10
Variable Description
multiple : Bool Sets the type of List control from drop-down to standard list.
editbox : Bool Sets a drop-down control to combo box or standard list to editable
list. It is not available on multiple selection lists.
dropdown : Bool Converts the initial List control to a drop-down list.
selectedItems : Dynamic Returns values depicting the currently selected item or items, as
detailed in Table 17-9.
Pages:
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917