Share via


How to: Add a Footnote Section to a Dialog Form

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

You can add an image and text message to the footnote area of a dialog or drop dialog form. The footnote area is the section of the form under the commit and cancel buttons. You use the footnote area to show a message that provides information about how to complete or use the form. However, a footnote message is optional and you can decide to leave the footnote area empty. To add a message to the footnote area, you must first create the dialog or drop dialog form. For information about how to create a dialog form, see How to: Create a Dialog Form.

To add a message to the footnote area

  1. In the AOT, expand Forms and find the form you want to work with. Expand the form, expand Designs, and then expand Design. The Design node should include a group control named DialogCommit.

  2. Expand the DialogCommit group control. You should see a group control named Footnote.

    If you want to add a Footnote group, click the DialogCommit group, click New Control, and then click Group. The group control must be the last control in the group. If you have to move the control, click the control and then press ALT+UP ARROW or ALT+DOWN ARROW.

  3. Click the Footnote group control. In the property sheet, specify values for the following properties:

    Property

    Value

    FrameType

    Edged 3D Line

    Name

    Footnote

    Style

    MarginlessContainer

    TopMargin

    10

    Visible

    Yes

  4. Right-click the Footnote group control, click New Control, and then click Group. A group control is added to the form.

  5. Click the group control. In the property sheet, specify values for the following properties:

    Tip

    You can use code to hide or show the message in the footnote area. To see an example of how to show or hide a group, see How to: Hide fields on a Dialog Form.

    Property

    Value

    AutoDeclaration

    Yes

    Columns

    2

    Columnspace

    5

    FrameType

    None

    Name

    Type a unique name for the static text control.

    Visible

    Yes

  6. Right-click the group control, click New Control, and then click Window.

  7. Click the window control. In the property sheet, specify values for the following properties:

    Property

    Value

    BackStyle

    Transparent

    ImageResource

    Specify the embedded resource you want to appear in the footnote area. To see a list of embedded resources, click Tools in the menu of the development workspace, and then click Embedded resources.

    For example, use 928 to show a caution symbol with the footnote message.

    Name

    Type a unique name for the window control.

  8. Right-click the group control, click New Control, and then click StaticText.

  9. Click the control. In the property sheet, set values for the following properties:

    Property

    Value

    Name

    Type a unique name for the static text control.

    Text

    Specify the instruction you want to appear under the main instruction. You can select a label or type the text that you want to appear.

  10. Right-click the form and then click Save.

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