Share via


DimensionDefaultingController::constructInTabWithCombos Method [AX 2012]

Constructs an instance of the DimensionDefaultingController class that has a combo box control associated with each dimension attribute added by using the specified FormTabPageControl object.

Syntax

client public static DimensionDefaultingController constructInTabWithCombos(
    EnumId _enumType, 
    boolean _allowEdit, 
    RecId _editableDimensionAttributeSetId, 
    FormRun _formRun, 
    FormTabPageControl _tabPageControlContainer, 
    str _introGroupLabel, 
    str _comboLabel, 
   [SelectableDataArea _company])

Run On

Client

Parameters

  • _allowEdit
    Type: boolean
    A Boolean value that indicates whether the controls can be edited.
  • _editableDimensionAttributeSetId
    Type: RecId Extended Data Type
    The value that specifies a list of dimension attributes associated with the controls.
  • _formRun
    Type: FormRun Class
    The FormRun object of the form that contains the added controls.
  • _tabPageControlContainer
    Type: FormTabPageControl Class
    The FormTabPageControl object that contains the added controls.
  • _introGroupLabel
    Type: str
    The label that is used as introductory text above the added controls.
  • _comboLabel
    Type: str
    The label that is used to identify the column of check box controls.

Return Value

Type: DimensionDefaultingController Class
A new instance of the DimensionDefaultingController class that has a check box control associated with each dimension attribute.

Exceptions

Exception Condition
Error

The _formRun, _tabPageControlContainer, _introGroupLabel, _comboLabel, and _company parameters must be specified.

An _editableDimensionAttributeSetID parameter can only be specified when the _allowEdit parameter is true.

See Also

Reference

DimensionDefaultingController Class