Hi there,

This is probably a really obvious bug, but I can't seem to get my NSProgressIndicator to show progress when using incrementBy: or setDoubleValue:.

As an example, i've got a controller which has a NSProgressIndicator bound to it through IB, and on the awakeFromNib method I've got a little bit of code:

                double tD = 0.5;
                [progressBar setDoubleValue:tD];
                NSLog(@"%d", [progressBar doubleValue]);

now when I run the application the progress bar is just doing it's barber shop thing and no progress is indicated. When I check the logs out I simply get a result of "0" instead of the 0.5 i set. Even when I try to set the min and max values and use larger numbers (say a range from 0 to 100, and increment to 50) it still doesn't update.

I can't seem to work it out and I (sadly) have wasted so much time on a seemingly simple task.

Does anyone have any pointers on where I could be going wrong?

Cheers
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to