Chapter 17: Desktop Applications with Neko
491
Figure 17-4
Table 17-7
Variable Description
cursor : Int Specifies the current position of the insertion point.
maxChars : Int Specifies the maximum number of characters allowed in the control. The
default maximum number of characters is 231.
readOnly : Bool Allows the user to read text without being able to change it. The default
is false.
border : Bool Shows a border around the control. The default is true.
Table 17-8
Method Description
append(val : String) Appends text to the end of the field??™s current content.
insert(val : String) Inserts text at the current cursor location.
The List Control
The List control provides the functionality of five different, albeit related, controls: a standard single
selection list, an editable selection list, a multiple selection list, a drop - down control, and an editable
combo box control. The default control is the single selection list, though the type of control supplied can
be changed, prior to its parent dialog becoming visible, by manipulating the control ??™ s properties.
Pages:
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912