Share via


DimensionDefaultingController::constructInTabWithChecksAndValues Method [AX 2012]

Constructs an instance of the DimensionDefaultingController class that has a check box and string edit control that is associated iwth each dimension attribute added to the specified FormTabPageControl object.

Syntax

client public static DimensionDefaultingController constructInTabWithChecksAndValues(
    boolean _showNoDefaultLabel, 
    boolean _showWhereUsed, 
    boolean _allowEdit, 
    RecId _editableDimensionAttributeSetId, 
    FormRun _formRun, 
    FormTabPageControl _tabPageControlContainer, 
    str _introGroupLabel, 
    str _checkLabel, 
   [SelectableDataArea _company])

Run On

Client

Parameters

  • _showNoDefaultLabel
    Type: boolean
    A Boolean value that indicates whether the name column associated with each value will display "No default" or 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 the primary edit control pane.
  • _allowEdit
    Type: boolean
    A Boolean value that indicates whether the controls can be edited.
  • _editableDimensionAttributeSetId
    Type: RecId Extended Data Type
    The record ID of a list of dimension attributes associated with the controls that can be edited when the _allowEdit parameter is true.
  • _formRun
    Type: FormRun Class
    The FormRun object of the form hosting the container to hold 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.
  • _checkLabel
    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 that is associated with each dimension attribute.

Exceptions

Exception Condition
Error

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

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

See Also

Reference

DimensionDefaultingController Class