Share via


DimensionDefaultingController::constructInTabWithChecks Method [AX 2012]

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

Syntax

client public static DimensionDefaultingController constructInTabWithChecks(
    boolean _allowEdit, 
    RecId _editableDimensionAttributeSetId, 
    FormRun _formRun, 
    FormTabPageControl _tabPageControlContainer, 
    str _introGroupLabel, 
    str _checkLabel, 
   [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 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.
  • _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, and _company parameters must be specified.

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

See Also

Reference

DimensionDefaultingController Class