diff -r 716254ccbcc0 -r 7848c135d915 org.symbian.tools.wrttools.doc.WRTKit/html/WRTKit_Text_entry-GUID-b52e3343-5a39-4a83-ae97-461a53761207.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WRTKit/html/WRTKit_Text_entry-GUID-b52e3343-5a39-4a83-ae97-461a53761207.html Fri Mar 05 19:31:41 2010 -0800 @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + +Text entry + + + + + +

+Text entry

+ +
+ +

+ + The WRTKit has two controls for text entry needs. For situations when only a + single line of text is needed there's the TextField control. The TextField + control supports "masked text entry", meaning that any text that is entered into + the control is masked so it cannot be read. The mask is implemented so that + every typed character is shown as an asterisk (*) character. +

+ +

+ + When longer or multi-line text entry is needed, the TextArea control + can be used instead of the single-line TextField. The TextArea size + can be defined in number of rows when the control is created. If the + argument for rows is omitted a default of 3 rows will be used. + Longer text can still be entered - the size refers to number of rows + that are visible without scrolling. Note that TextArea controls do + not support masked text entry. +

+ +
Figure 1. +TextField and TextArea controls + + +

+
+ +

+ + The text in TextField and TextArea controls can be retrieved and set using + getter and setter methods. +

+ +

+ + Text entry controls fire "TextChanged" events when the user edits the text in + the control. +

+ +
+ +
+ +
+ + + \ No newline at end of file