Compartir a través de


Composite field events

Composite fields provide the following events:

Composites of the type "with events" supply these events for the composite as a single field. Composites of the type "with full events" supply these events for the composite as a single field, and also for each of the components of the composite.

Change

This event occurs when the value of the composite or component changes, such as being set by the user or changed by other code in Microsoft Dynamics GP.

EnterBeforeOriginal

This event occurs when the focus moves to the composite field or component, but before the field or component enter event is run. This event can be canceled.

EnterAfterOriginal

This event occurs when the focus moves to the composite field or component, but after the field or component enter event is run.

LeaveBeforeOriginal

This event occurs when the focus moves from the composite field or component, but before the field's leave event is run. This event can be canceled.

LeaveAfterOriginal

This event occurs when the focus moves from the composite field or component, but after the field's leave event is run.

ValidateBeforeOriginal

This event occurs when the focus is to move from the composite field or component, and the composite field or component has been set to be validated. A field or component will be validated when its value has been changed, or the validation has been forced, such as with the ForceValidate() method. This event occurs before the composite field or component validate event. It can be canceled.

ValidateAfterOriginal

This event occurs when the focus is to move from the composite field or component, and the composite field or component has been set to be validated. This event occurs after the composite field or component validate event.