C H A P T E R 8
Text and Ink Input and Display
Setting the Caret Insertion Point
When you application starts up, you might want to establish the insertion point for
keyboard entry in caret insertion writing mode. There are three functions that you
can use for this purpose:
to establish the insertion point in an input field, use the
which is described in "SetKeyView" (page 7-43) in Newton Programmer's
to establish the insertion point in an edit view, use the
function, which is described in "PositionCaret" (page 7-49) in Newton
to establish the insertion point in an edit view or paragraph, you can use the
function, which is described in "SetCaretInfo" (page 7-50) in
Newton Programmer's Reference.
You can provide the user with on-screen keyboard input in your applications using
the built-in keyboard views. You can also define new keyboard views and register
them with the system, which will activate caret input when these views are opened.
There are four different floating keyboards built into the system root view. Each of
the built-in keyboards can be accessed as a child of the root with a symbol.
To use the full alphanumeric keyboard, which is shown in Figure 8-6, use the
The built-in alphanumeric keyboard