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