GetControlSize Method

Description

Get the current control width and height.

Syntax

Ctlname.GetControlSize (int nWidth, int nHeight)

Return Type

void

`

Remarks

Use this method to get the control color button size, includes width and height, parameter nWidth reference to receive the button width, nHeight reference to receive the button height.

Samples

Dim cx, cy As Interger

ColorPicker1.GetControlSize cx, cy

'do something

……