Non-focus events
From LinuxMCE
OnInit
That event appears before first paint. It may be used to call a specified script. That may be useful even the actual file is fixed form.
OnPaint
That event appears on any display change, it may be used to refresh form status
OnClose
OnClose event may be used before changing the screen