Partager via


FormGroupControl.addControl Method

Definition

Overloads

addControl(FormControlType, String)

Adds a form control to a form group control.

addControl(FormControlType, String, FormControl)

addControl(FormControlType, String)

Adds a form control to a form group control.

public:
 virtual Dynamics::AX::Application::FormControl ^ addControl(Dynamics::AX::Application::FormControlType type1, System::String ^ text1);
public virtual Dynamics.AX.Application.FormControl addControl (Dynamics.AX.Application.FormControlType type1, string text1);
abstract member addControl : Dynamics.AX.Application.FormControlType * string -> Dynamics.AX.Application.FormControl
override this.addControl : Dynamics.AX.Application.FormControlType * string -> Dynamics.AX.Application.FormControl
Public Overridable Function addControl (type1 As FormControlType, text1 As String) As FormControl

Parameters

text1
String

Returns

A FormControl object that configures form controls.

Applies to

addControl(FormControlType, String, FormControl)

public:
 virtual Dynamics::AX::Application::FormControl ^ addControl(Dynamics::AX::Application::FormControlType _controlType, System::String ^ _controlName, Dynamics::AX::Application::FormControl ^ _insertAfter);
public virtual Dynamics.AX.Application.FormControl addControl (Dynamics.AX.Application.FormControlType _controlType, string _controlName, Dynamics.AX.Application.FormControl _insertAfter);
abstract member addControl : Dynamics.AX.Application.FormControlType * string * Dynamics.AX.Application.FormControl -> Dynamics.AX.Application.FormControl
override this.addControl : Dynamics.AX.Application.FormControlType * string * Dynamics.AX.Application.FormControl -> Dynamics.AX.Application.FormControl
Public Overridable Function addControl (_controlType As FormControlType, _controlName As String, _insertAfter As FormControl) As FormControl

Parameters

_controlType
FormControlType

A value that indicates the position of the control; optional. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

_controlName
String

A value that indicates the position of the control; optional. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

_insertAfter
FormControl

A value that indicates the position of the control; optional. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

Returns

Applies to