HTBasic Help
×
Menu
Index

Limits Widget - Maximum

 
The value of this attribute specifies the upper bound on the displayed value of the VALUE attribute. When the value of VALUE equals the value of MAXIMUM, the BAR will reach the top or right (depending on the ORIENTATION) of the widget. MAXIMUM must be greater than MINIMUM.
 
The value of MAXIMUM will be displayed with only one digit to the right of the decimal point. For example, if you set the value of MAXIMUM to 123.4567, the display will show 123.5. If you set the value of MAXIMUM to 0.0001375, the display will show 1.4E-4.
 
If you need to display numbers in a different way for your application, you can set the value of MAXIMUM as a string. For example, if you want to display  0.000237 or 4.167E-4, set the value of MAXIMUM to the string "0.000237" or "4.167E-4" in the ASSIGN or CONTROL statement.