TrackBar_SetLineSize

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Trackbar control > Trackbar Control Commands >

TrackBar_SetLineSize

 

Description

 

Sets the number of logical positions the trackbar's slider moves in response to keyboard input from the arrow keys.

The logical positions are the integer increments in the trackbar's range of minimum to maximum slider positions.

 

Syntax

 

n = TrackBar_SetLineSize(hWnd, ctrlID, lSize)

 

Returns

 

Number

 

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 ...

lSize

Number

No

New line size.

 

Remarks

 

The default setting for the line size is 1.

The trackbar also sends the %TB_LINEUP and %TB_LINEDOWN notification messages to its parent window when the user presses the arrow keys.

 

Restrictions

 

See also

 

Examples