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

TrackBar_SetRange_Max

Previous pageReturn to chapter overviewNext page

 

Description

 

Sets the maximum logical position for the slider in a trackbar.

 

Syntax

 

n = TrackBar_SetRange_Max(hWnd, ctrlID, 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 ...

lMax

Number

No

Maximum position for the slider.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com