You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > activate

8.1 activate

on.activate()

This routine is called when the script application is activated. The dimensions of the drawing window cannot be initialized at this point, so it is not a good place to create and position graphical elements if they depend on the window size.

Introduced in platform.apiLevel = '1.0'