แชร์ผ่าน


FormComboBoxControl.prefColumnSize(Int32, Int32) Method

Definition

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

public:
 override void prefColumnSize(int _width, int _height);
public override void prefColumnSize (int _width, int _height);
override this.prefColumnSize : int * int -> unit
Public Overrides 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 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);

Applies to