CONTROL GET SIZE

<< Click to Display Table of Contents >>

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

CONTROL GET SIZE

 

Description

 

Get the size of a control.

 

Syntax

 

CONTROL GET SIZE hwnd, ctrlID TO VarWidth, VarHeight

 

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 ...

VarWidth

Variable

No

A single numeric variable that will get the width of the control.

VarHeight

Variable

No

A single numeric variable that will get the height of the control.

 

Remarks

 

Restrictions

 

See also

 

Examples