ISDBUICommon::SetRect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (refs to setclientrect) |
||
Line 11: | Line 11: | ||
===Method description=== | ===Method description=== | ||
A faster way how to set position and size of a control. | A faster way how to set position and size of a control. Width and height contains dimensions of control including its borders. | ||
For setting size of form controls and panels, consider using the [[ISDBUICommon::SetClientRect|SetClientRect]] method. | |||
===Related Topics=== | |||
*[[ISDBUICommon::SetClientRect]] | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Latest revision as of 22:16, 20 April 2013
CoClass SDBUICommon, Interface ISDBUICommon
Sub SetRect(Left As Long, Top As Long, Width As Long, Height As Long)
Parameters
Name | Type | Description |
---|---|---|
Left | Long | Left side of the control |
Top | Long | Top side of the control |
Width | Long | Width of the control |
Height | Long | Height of the control |
Method description
A faster way how to set position and size of a control. Width and height contains dimensions of control including its borders.
For setting size of form controls and panels, consider using the SetClientRect method.