FormComboBoxControl.prefColumnSize(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);