FormControl.prefColumnSize Method
Specifies the preferred column width and height for the form control.
Syntax
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.
Examples
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);