Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > Splitter control > Splitter_SetSplitPosPct |
|
Description
Define the position of the splitter bar in percentage.
Syntax
n = Splitter_SetSplitPosPct (hwnd, ctrlID, PctPos)
Returns
Number
Previous position.
Parameters
Name |
Type |
Optional |
Meaning |
hwnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier |
PctPos |
Number |
No |
Percentage position (from the left or upper edge) where to set the split bar |
Remarks
If PctPos value is < 0 or > 100, it will be set automatically to 50.
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |