Other Messages the View System Sends

viewIdleScript()

The viewIdleScript message is used to perform regularly scheduled actions. It is sent automatically for views that have set up idling. To set up idling for a view, call view:SetupIdle(milliseconds), where milliseconds is the number of milliseconds before the next idle call. This routine can do whatever processing it desires, but should return the number of milliseconds before the next call to viewIdleScript. Returning nil stops idling.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996