FormGroupControl.topMargin Method [AX 2012]

Sets or returns the top margin for a form group control in pixels and specifies whether the size is automatically adjusted.

public int topMargin([int value, AutoMode mode])

Run On

Client

Parameters

value
Type: int
An integer that specifies the size of the top margin for a form group control in pixels; optional.
mode
Type: AutoMode Enumeration
An AutoMode enumeration value that specifies whether the size of the top margin is fixed, or whether it is automatically adjusted based on other form property settings; optional.

Return Value

Type: int
An integer that specifies the size of the top margin for a form group control in pixels.

Community Additions

ADD
Show: