Sequence of events

Hi,

Is there a documentation available on sequence of events executed by form and grid applications.

I am facing few issues with OnAppInit and OnScriptInit… not sure which one gets executed when and which is the first… My functions gets executed as expected, however, when invoked from a menu few sc macros does not seem to be working.

Also, is there a mechanism to know if the form/grid is called from a menu…

Quite a coincidence… while browsing through other sc pages found the below videos that demonstrates form and grid events

http://scriptcase.net/phpgenerator/videos/videos.php?videoid=71
http://scriptcase.net/phpgenerator/videos/videos.php?videoid=70