<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ScrollBar Control > ScrollBar Control Commands > ScrollBar_SetPageSize |
Description
Set the current page size in a ScrollBar control.
Syntax
n = Scrollbar_SetPageSize (hwnd, ctrlID, nSize)
Returns
Number: size before change
Parameters
Name |
Type |
Optional |
Meaning |
hwnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier |
nSize |
Number |
No |
New page size |
Remarks
The default page size is 10.
Scrollbar is automatically redrawn after this command.
Restrictions
See also
Examples