FormGroupControl.addControl Method [AX 2012]

Adds a form control to a form group control.

public FormControl addControl(
    FormControlType controlType, 
    str controlName, 
   [FormControl insertAfter])

Run On

Client

Parameters

controlType
Type: FormControlType Enumeration
A FormControlType enumeration value that specifies the control type.
controlName
Type: str
A String data type that specifies the control name.
insertAfter
Type: FormControl Class
A value that indicates the position of the control; optional. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

Return Value

Type: FormControl Class
A FormControl object that configures form controls.

Community Additions

ADD
Show: