<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands > CONTROL GET LOC |
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