Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > SCROLLBAR control >

ScrollBar_SetPageSize

Previous pageReturn to chapter overviewNext page

 

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