TextBox
and TextField
respond to basic touch events as
follows:
Touch down and release on an editable TextBox
or TextField
activates the field for editing:
On Series 40 devices, by default, touch down and release activates in-line editing. The user can edit the text directly by using the physical keypad.
On Symbian devices, touch down and release opens the on-screen keypad.
Touch down and release within the selected TextBox
or TextField
moves the text cursor.
On Series 40 devices, text can be edited by using the physical keypad. On Symbian devices, text can be edited by using the on-screen keypad.
On Symbian devices, text can be selected ("painted") by dragging. This feature is not supported on Series 40 devices.
If a TextField
has multiple commands assigned
to it, touch down and hold on the TextField
opens
a pop-up menu containing the commands. The pop-up menu corresponds
to the context-specific Options menu of non-touch devices.
Symbian devices also provide a pop-up command menu for TextBox
components.
On Symbian devices, in full screen mode, TextBox
includes a touch-enabled scrollbar. On S60 5th Edition devices,
the scrollbar is always shown, even when the content does not need
scrolling. From Symbian^3 onwards, the scrollbar is shown only when
the content needs scrolling. Dragging the scrollbar scrolls the content.
On Series 40 devices, no scrollbar is shown for TextBox
.
TextFields
do not support a scrollbar.
For more information about using TextBox
, see
section TextBox.
For more information about using TextField
, see
section TextField.