This event is executed after opening window and loading the data
BEFORE the window is visible
This is the best place to add / change Buttons
or to add / change field properties
see Beas Script Create command
Example:
Create button in work order structure form
Create button for close work order