On open event Functions used for open form event. dlgEvent_OnOpenFormFunction called on open form event.