Share via


Dialog.addField Method [AX 2012]

Adds a field to the dialog box.

Syntax

public DialogField addField(
    IdentifierName _typeName, 
   [FieldLabel _label, 
    FieldHelp _help, 
    boolean _ignoreEDTConstraints])

Run On

Called

Parameters

  • _ignoreEDTConstraints
    Type: boolean
    true if the extended data type constraints should be ignored when the provided _typeName is an extended data type; otherwise, false.

Return Value

Type: DialogField Class
The newly constructed instance of the DialogField class.

Remarks

The underlying type of the provided _typeName determines what type of control is added to the dialog box.

See Also

Reference

Dialog Class