CONTROL SET SIZE

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands >

CONTROL SET SIZE

 

Description

 

Change the size (width and/or height) of a control.

 

Syntax

 

CONTROL SET SIZE hwnd, ctrlID, width, height

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

width

Number

No

New control width. To leave current width unchanged, indicate -1

height

Number

No

New control height. To leave current height unchanged, indicate -1

 

Remarks

 

Restrictions

 

See also

 

Examples