for both onapplicationinit and onscriptinit
is this a bug?
from documentation
This macro allows modifying the property of the application. The user can determine if a Form will start in insert mode, or a Grid starts by the filter, etc.
This macro must be used by one application to modify the properties of another application.
So you cannot use this macro on the app itself, you have to call this macro in the app that will call that app where you want to modify the behaviour.
2 Likes