Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > ProgressBar Control > ProgressBar_SetRange |
|
Description
Sets the minimum and maximum values for a progress bar control and redraws the bar to reflect the new range
Syntax
n = ProgressBar_SetRange(hWnd, ctrlID, lMin, lMax)
Returns
Number.
Returns the previous position.
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the list-view control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
lMin |
Number |
No |
Minimum range value. By default, the minimum value is zero. |
lMax |
Number |
No |
Maximum range value. By default, the maximum value is 100 |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |