Event Method Sequences when the Value of a Control Changes

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Event methods are executed when the value of a control changes. The exact sequence of event methods varies for different controls.

Check Box Scenario

The example scenario uses a simple form that has a check box control. The check box is bound to a field in a data source.

A check box is a control that has a value property. In contrast, a grid control contains fields that each display a value, but the grid itself does not have a value property.

Aa642643.collapse_all(en-us,AX.60).gifClick to Change the Value in a Check Box

The following sequence of event methods is executed when the check box is either selected or cleared by a user.

  1. validate on the check box.

  2. modified on the check box.

  3. validateField on the table.

Aa642643.collapse_all(en-us,AX.60).gifRemove Focus from a Check Box

The following event method is the only one executed when focus is removed from the check box:

  • leave on the check box.

See also

Event Method Sequences in Form Scenarios

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.