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

TrackBar_SetRange

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets the current logical position of the slider in a trackbar.

 

Syntax

 

n = TrackBar_SetRange(hWnd, ctrlID, lMin, lMax)

 

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

lMin

Number

No

Minimum position for the slider.

lMax

Number

No

Maximum position for the slider.

 

Remarks

 

Restrictions

 

See also

 

Examples