• 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: Progress bar on front NSPanel is grey not blue??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bar on front NSPanel is grey not blue??


  • Subject: Re: Progress bar on front NSPanel is grey not blue??
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Thu, 13 Apr 2006 14:58:27 +0100


Unfortunately, this hasn't changed anything.

I can't make this as a separate thread. I'm porting code written for the PC, and the original just doesn't work that way.

the useThreadedAnimation: trick didn't work unfortunatealy. I am doing this:

	[p setUsesThreadedAnimation:true];

but it doesn't work! Same greyness.

You are indeed correct about the whole loop thing. You have two choices as I see it.

1. Spin the processing off in a separate thread. This is what you ought to do.

2. Set your progress indicator to useThreadedAnimation: This will cause it by some magic to draw itself in the appropriate colour. You can then do away with the [p display] method which is nice.

If you go with option 2, what i recommend doing is to subclass NSProgressIndicator just so that it sets the threaded animation property itself upon awakeFromNib.

You could possibly also possibly try calling display of the panel itself.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Progress bar on front NSPanel is grey not blue??
      • From: Keary Suska <email@hidden>
    • Re: Progress bar on front NSPanel is grey not blue??
      • From: Mike Abdullah <email@hidden>
References: 
 >Progress bar on front NSPanel is grey not blue?? (From: "Theodore H. Smith" <email@hidden>)
 >Re: Progress bar on front NSPanel is grey not blue?? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Why 1-pixel shift in drawing a clicked cell?
  • Next by Date: kWSMethodInvocationResult question
  • Previous by thread: Re: Progress bar on front NSPanel is grey not blue??
  • Next by thread: Re: Progress bar on front NSPanel is grey not blue??
  • Index(es):
    • Date
    • Thread