View Full Version : Progress Bar Problem

April 21st, 2008, 08:29 PM
I'm trying to get the Image Progress Bar Component to work with NR v2.0.0.119 and NRD v1.1.0.49. I've attached an example. Can someone please tell me what I'm doing wrong? TIA

Rob H
April 22nd, 2008, 05:34 AM
You haven't used any images on the button

April 22nd, 2008, 05:58 AM
Thanks Rob. Adding an image makes it work.

I guess the help file is wrong? From NRBasic Plugin:
Image Progress Bar Component

The Button behaves as a visual progress indicator. The
foreground color or image slides over the background color
in proportion to the control Variable.

Rob H
April 22nd, 2008, 12:29 PM
I'm not sure if it ever behaved like that.

BTW I've just fixed a bug in that which appears to have been there for quite some time. ie the up and left variants didn't work correctly. In the next build you will also be able to use alpha transparent images for both the background and foreground image (previously the background (released) image was drawn completely and overlaid by the foreground (pressed) image - which could lead to strange behaviour when alpha transparent images were used).