Apple Newton Utilities User's Guide Page 318

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 317
CHAPTER 8
Text and Ink Input and Display
8-26 Using Text
Setting the Caret Insertion Point 8
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 eld, use the SetKeyView function,
which is described in “SetKeyView” (page 7-43) in Newton Programmers
Reference.
to establish the insertion point in an edit view, use the PositionCaret
function, which is described in “PositionCaret” (page 7-49) in Newton
Programmers Reference.
to establish the insertion point in an edit view or paragraph, you can use the
SetCaretInfo function, which is described in “SetCaretInfo” (page 7-50) in
Newton Programmers Reference.
Using Keyboards 8
You can provide the user with on-screen keyboard input in your applications using
the built-in keyboard views. You can also dene new keyboard views and register
them with the system, which will activate caret input when these views are opened.
Keyboard Views 8
There are four different oating 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
symbol
'alphaKeyboard.
Figure 8-6 The built-in alphanumeric keyboard
Page view 317
1 2 ... 313 314 315 316 317 318 319 320 321 322 323 ... 941 942

Comments to this Manuals

No comments