• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSProgressIndicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator


  • Subject: Re: NSProgressIndicator
  • From: "Jeremy W. Sherman" <email@hidden>
  • Date: Thu, 23 Apr 2009 00:16:07 -0400

>
> And finally:
>
> . . .
> [myIndicator setMaxValue:0];
> [myIndicator setMinValue:0];
> [myIndicator setDoubleValue:0];
>
This looks to be your problem. Your max and min values are identical
following your first run. Unless you're reasserting the correct values
before redisplaying, they'll be stuck being the same, as well.

—Jeremy

On Wed, Apr 22, 2009 at 4:09 PM, Livio Isaia <email@hidden> wrote:

> I have a NSProgressIndicator that indicates the progress of a disk saving
> job.
> Initially it's hidden so:
>
> [myIndicator setMaxValue:count];
> [myIndicator setMinValue:0];
> [myIndicator setDoubleValue:0];
> [myIndicator setHidden:NO];
> [myIndicator displayIfNeeded];
>
> Then I do the job calling:
>
> [myIndicator incrementBy:1];
> [myIndicator displayIfNeeded];
>
> And finally:
>
> [myIndicator setHidden:YES];
> [myIndicator displayIfNeeded];
> [myIndicator setMaxValue:0];
> [myIndicator setMinValue:0];
> [myIndicator setDoubleValue:0];
>
> The first time all works perfectly, but the second, when I reset the
> indicator, no: the indicator is displayed but remains blank, that is it
> doesn't show any progress. What's going wrong?
>
> Thank you all in advance,
> best regards,
> livio.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >NSProgressIndicator (From: Livio Isaia <email@hidden>)

  • Prev by Date: Re: How to make app login window to look like OS X user login window ?
  • Next by Date: Accuracy of timers?
  • Previous by thread: NSProgressIndicator
  • Next by thread: Identical Attributes, Only one works
  • Index(es):
    • Date
    • Thread