on.restore

From Inspired-Lua Wiki
Revision as of 17:57, 16 June 2012 by Adriweb (talk | contribs) (Created page with "on.'''restore''' is an event. This routine is called when the script application is restored from its saved state in a document or when the app is pasted into a document. <br /...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

on.restore is an event.


This routine is called when the script application is restored from its saved state in a document or when the app is pasted into a document.
It is called only if the state was saved with the application when it was previously copied to the clipboard or saved in a document. See the on.save handler.

The parameter state is the table that the on.save event handler returned.

Warning : Functionality that is not available during initialization is also not usable within on.restore. Among the functions that cannot be called are math.eval and platform.isDeviceModeRendering.

This has been introduced in TI-Nspire OS 3.0 (Changes).