FormControl.prefColumnSize Method [AX 2012]

Specifies the preferred column width and height for the form control.

public void prefColumnSize(int width, int height)

Run On

Client

Parameters

width
Type: int
The preferred width of the control.
height
Type: int
The preferred height of the control.

The following example shows how to set the preferred width and height of a form control.

// nWidth and nHeight are previously assigned int variables. 
// ctrl is a previously assigned FormControl variable. 
 
ctrl.prefColumnSize( nWidth, nHeight);

Community Additions

ADD
Show: