Jaa


FormControl.prefColumnSize(Int32, Int32) Method

Definition

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

public:
 virtual void prefColumnSize(int _width, int _height);
public virtual void prefColumnSize (int _width, int _height);
abstract member prefColumnSize : int * int -> unit
override this.prefColumnSize : int * int -> unit
Public Overridable Sub prefColumnSize (_width As Integer, _height As Integer)

Parameters

_width
Int32

The preferred height of the control.

_height
Int32

The preferred height of the control.

Remarks

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);

Applies to