On action states change Function used for action state change at the form level. dlgEvent_OnActionStatesChangeFunction called to make action state change at the form level.