Dialog Close

Dialog Close triggers a procedure or calls a script when a user closes a screen that was opened using the GefApplication.DialogPopup or GefScreens.DialogPopup method in the CimEdit/CimView GefObject Model.

The event is triggered in the screen that was specified as the parent screen in the DialogPopup call.

Field Description
A Action Contains a drop-down list of existing procedures and scripts. Use either of the following.
Procedure    
Script    
B Parameter Can be used if the event invokes a script directly or through a procedure. The default code begins as follows. Sub OnDialogClose(closeReason As Long) Where parameters are:
CloseReason    
     
     
C Debounce event Check      
Clear      
Note: When debouncing is enabled, the event/action queue is always processed one action at a time; the current action must be completed before the next action can start.
This makes the queue's event/action sequencing predictable and avoids situations where many events could trigger actions and consume unacceptable levels of CPU and memory.
     
Note: The following methods and event allow you to use CimView screens the way you would use dialog boxes:
  • GefApplication.DialogPopup method,
  • GefScreen.CloseEx method,
  • GefScreen.ObjectToEdit property and
  • Dialog Close event.