background image
C H A P T E R 8
Text and Ink Input and Display
Summary of Text
8-49
Keyboard Functions and Methods
8
This section summarizes the functions and methods that you can use to work with
keyboards in your applications.
General Keyboard Functions and Methods
8
GetCaretBox()
view
:KeyboardInput()
KeyIn(
keyCode
,
down
)
PostKeyString(
view
,
keyString
)
SetKeyView(
view, offset
)
Keyboard Registry Functions and Methods
8
KeyboardConnected()
OpenKeyPadFor
(view)
RegGlobalKeyboard(
kbdSymbol, kbdTemplate
)
view
:RegisterOpenKeyboard(
flags
)
UnRegGlobalKeyboard(
kbdSymbol
)
view
:UnregisterOpenKeyboard()
Caret Insertion Writing Mode Functions and Methods
8
GetRemoteWriting()
SetRemoteWriting
(newSetting)
Insertion Caret Functions and Methods
8
GetCaretInfo()
GetKeyView()
view:
PositionCaret
(x, y, playSound)
SetCaretInfo(
view, info
)
Application-Defined Methods for Keyboards
8
ViewCaretChangedScript
(view, offset, length)
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна