FormComboBoxControl.prefColumnSize Method [AX 2012]

Specifies the preferred column width and height for the form combo box 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 combo box control.

// The nWidth and nHeight variables were  
// previously assigned as int variables. 
// The ctrl variable was previously assigned 
// as a FormComboBoxControl variable. 
 
ctrl.prefColumnSize( nWidth, nHeight);

Community Additions

ADD
Show: