This image represents the "life cycle" of a ScriptApp (''lua program'')<br />
This image represents the "life cycle" of a ScriptApp (''lua program'')<br />
−
NB : on <= 3.2, the event [[on.paint]] is called [[on.construction]]
+
NB : on OS >= 3.2 (apilevel 2.0+), the event [[on.create]] disappeared. You can replace its usage by [[on.construction]] if you're not using any Nspire-specific API. If you do, you can use on.resize as a"first time" initializer (with a flag if needed)