FormSegmentedEntryControl.widthMode Method [AX 2012]

Gets or sets the calculation mode of the width of the control.

public int widthMode([int value])

Run On

Client

Parameters

value
Type: int
An integer value that indicates how control width is calculated; optional.

Return Value

Type: int
An integer value that indicates the current calculation mode.

Calculate the width according to the following table.

Mode

Width calculation

Exact

The exact width in pixels of the controls is used.

Auto

The width of the control is calculated automatically and the value parameter is ignored.

Column width

The layout of the form determines the width of the control.

The width of the control might change when the mode is set to auto or column width.

Community Additions

ADD
Show: