FormBuildControl.addControl Method

Definition

Overloads

addControl(FormControlType, String)

Adds a control to the control, based on the specified control type.

addControl(FormControlType, String, FormBuildControl)
addControl(FormControlType, String, FormBuildControl, Boolean)

addControl(FormControlType, String)

Adds a control to the control, based on the specified control type.

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

Parameters

_controlType
FormControlType

The string value to set the name of the new control to.

_controlName
String

The string value to set the name of the new control to.

Returns

A FormBuildControl object that represents the newly added control.

Applies to

addControl(FormControlType, String, FormBuildControl)

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

Parameters

_controlType
FormControlType
_controlName
String
_insertAfter
FormBuildControl

Returns

Applies to

addControl(FormControlType, String, FormBuildControl, Boolean)

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

Parameters

_controlType
FormControlType
_controlName
String
_insertAfter
FormBuildControl
_pushFront
Boolean

Returns

Applies to