Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |