background image
C H A P T E R 1 7
Additional System Services
Summary of Additional System Services
17-27
Summary of Additional System Services
17
This section summarizes the services documented in this chapter.
Undo
17
Functions and Methods
17
AddUndoCall(
callBackFn
,
argArray
) //registers a function to
//call for Undo
AddUndoSend(
receiver
,
message
,
argArray
) //registers a message
//to be sent for Undo
view
:AddUndoAction(
methodName
,
argArray
) //registers an Undo
//action for a specific view
ClearUndoStacks() // clears Undo stack
Idlers
17
Method
17
view
:SetupIdle(
milliseconds
) //sets up an idler object
Notification and Alarms
17
Proto
17
aProtoPeriodicAlarmEditor := { //creates periodic alarms
_proto: protoPeriodicAlarmEditor,
title :
string
,
//text at top of view
ownerSymbol :
symbol
,
//your appSymbol
ownerApp :
string
,
//your app's name
viewBounds :
frame
,
//bounds frame
//don't add child views
...
}
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна