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

CONTROL GET LOC

Previous pageReturn to chapter overviewNext page

 

Description

 

Get the x, y position of the specified control inside a dialog.

 

Syntax

 

CONTROL GET LOC hwnd, ctrlID TO VarX, VarY

 

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

VarX

Variable

No

A single numeric variable that will get the X position of the control.

VarY

Variable

No

A single numeric variable that will get the Y position of the control.

 

Remarks

 

Restrictions

 

See also

 

Examples