Share via


DimensionDefaultingController::constructInTabWithCombosAndValues Method [AX 2012]

Constructs an instance of the DimensionDefaultingController class in which a combo box control and a string edit control are associated with each dimension attribute that is added to the specified FormTabPageControl object.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client public static DimensionDefaultingController constructInTabWithCombosAndValues(
            EnumId _enumType, 
            boolean _valuesAppearLast, 
            boolean _showNoDefaultLabel, 
            boolean _showWhereUsed, 
            boolean _allowEdit, 
            RecId _editableDimensionAttributeSetId, 
            FormRun _formRun, 
            FormTabPageControl _tabPageControlContainer, 
            str _introGroupLabel, 
           [str _comboLabel, 
            SelectableDataArea _company])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client public static DimensionDefaultingController constructInTabWithCombosAndValues(
            EnumId _enumType, 
            boolean _valuesAppearLast, 
            boolean _showNoDefaultLabel, 
            boolean _showWhereUsed, 
            boolean _allowEdit, 
            RecId _editableDimensionAttributeSetId, 
            FormRun _formRun, 
            FormTabPageControl _tabPageControlContainer, 
            str _introGroupLabel, 
           [str _comboLabel, 
            SelectableDataArea _company])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client public static DimensionDefaultingController constructInTabWithCombosAndValues(
            EnumId _enumType, 
            boolean _valuesAppearLast, 
            boolean _showNoDefaultLabel, 
            boolean _showWhereUsed, 
            boolean _allowEdit, 
            RecId _editableDimensionAttributeSetId, 
            FormRun _formRun, 
            FormTabPageControl _tabPageControlContainer, 
            str _introGroupLabel, 
            str _comboLabel, 
           [SelectableDataArea _company])

  Microsoft Dynamics AX 2012 (FPK)
          client public static DimensionDefaultingController constructInTabWithCombosAndValues(
            EnumId _enumType, 
            boolean _valuesAppearLast, 
            boolean _showNoDefaultLabel, 
            boolean _showWhereUsed, 
            boolean _allowEdit, 
            RecId _editableDimensionAttributeSetId, 
            FormRun _formRun, 
            FormTabPageControl _tabPageControlContainer, 
            str _introGroupLabel, 
            str _comboLabel, 
           [SelectableDataArea _company])

  Microsoft Dynamics AX 2012 (SYS)
          client public static DimensionDefaultingController constructInTabWithCombosAndValues(
            EnumId _enumType, 
            boolean _valuesAppearLast, 
            boolean _showNoDefaultLabel, 
            boolean _showWhereUsed, 
            boolean _allowEdit, 
            RecId _editableDimensionAttributeSetId, 
            FormRun _formRun, 
            FormTabPageControl _tabPageControlContainer, 
            str _introGroupLabel, 
            str _comboLabel, 
           [SelectableDataArea _company])

Run On

Client

Parameters

  • _valuesAppearLast
    Type: boolean
    A Boolean value that indicates whether the value column appears before the combo box column.
  • _showNoDefaultLabel
    Type: boolean
    A Boolean value that indicates whether the name column that is associated with each value displays "No default" or is blank when no value is entered.
  • _showWhereUsed
    Type: boolean
    A Boolean value that indicates whether the Where used structure pane is drawn to the right of primary edit control pane.
  • _allowEdit
    Type: boolean
    A Boolean value that indicates whether the controls can be modified.
  • _editableDimensionAttributeSetId
    Type: RecId Extended Data Type
    The value that specifies a list of dimension attributes that are associated with the controls.
  • _formRun
    Type: FormRun Class
    The FormRun object of the form that hosts the container that holds 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; optional.

Return Value

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

Exceptions

Exception Condition
Error

The _formRun, _tabPageControlContainer, _introGroupLabel, _comboLabel, _valueLabel, and _company parameters must be specified. An _editableDimensionAttributeSetID parameter can be specified only when the _allowEdit parameter is set to true.

See Also

Reference

DimensionDefaultingController Class