• 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 (CallBacks)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator (CallBacks)


  • Subject: Re: NSProgressIndicator (CallBacks)
  • From: Sean Murphy <email@hidden>
  • Date: Wed, 18 Jul 2007 09:10:57 -0400

On Jul 18, 2007, at 7:09 AM, Barry wrote:

Thanks Alastair for the help with callbacks - that's now working.
However I the NSProgressIndicator Bar is not being displayed.

I originally had a simple spinner which worked fine.
Using IB I changed it to a Bar & since then - nothing is shown.

I also added the code

[progress setMinValue:0];
[progress setMaxValue:256];
[progress setStyle:NSProgressIndicatorBarStyle]; //just to see if it helped - it didn't !
[progress display]; // this made no difference either
[progress startAnimation:self];

Hi Barry,

As a first step, try calling [progress setDisplayedWhenStopped:YES]. You were previously using NSProgressIndicatorSpinningStyle, which by default hides itself when not animating.

Also, if your progress bar is a determinate one, starting animation on it will have no effect. In this deterministic case, the bar can advance only by calling either setDoubleValue: or incrementBy:.

If the spinning barber pole animation is what you have in mind, you'll need to setIndeterminate:YES for the animation-related methods to take effect.

See <http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSProgressIndicator_Class/index.html> for more information.

Take care,
Sean
_______________________________________________

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 (CallBacks) (From: "Barry" <email@hidden>)

  • Prev by Date: CIFilters on a bezeirpath
  • Next by Date: Re: Maintaining a List of instances of a class
  • Previous by thread: NSProgressIndicator (CallBacks)
  • Next by thread: Re: NSProgressIndicator (CallBacks)
  • Index(es):
    • Date
    • Thread