Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs >

CONTROL SET SIZE

Previous pageReturn to chapter overviewNext page

 

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