Progress Bar

I have a Progress Bar whose gauge value ranges from 0 to 1000.
i.e. Pt_ARG_GAUGE_MINIMUM = 0
Pt_ARG_GAUGE_MAXIMUM = 1000

The values that my application generates are between 0 and 25. In order get
a smooth progress of the values, I scale them from 0 to1000.

I’d like to show the generated values within the bar, which should be
between 0 and 25. However, since the bar range is 0-1000, it display values
from 0 to a 1000.

Your suggestions are appreciated.

Shashank

You could simply divide your current value by 40 and display that result in
a label placed over the bar rather then using the Pt_GAUGE_SHOW_VALUE flag.

Regards,
Dave B.



“Shashank” <sbalijepalli@precitech.com> wrote in message
news:btmj8i$54a$1@inn.qnx.com

I have a Progress Bar whose gauge value ranges from 0 to 1000.
i.e. Pt_ARG_GAUGE_MINIMUM = 0
Pt_ARG_GAUGE_MAXIMUM = 1000

The values that my application generates are between 0 and 25. In order
get
a smooth progress of the values, I scale them from 0 to1000.

I’d like to show the generated values within the bar, which should be
between 0 and 25. However, since the bar range is 0-1000, it display
values
from 0 to a 1000.

Your suggestions are appreciated.

Shashank




\