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