• 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: ProgressIndicator Always Hidden If...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProgressIndicator Always Hidden If...


  • Subject: Re: ProgressIndicator Always Hidden If...
  • From: Robert Palmer Jr <email@hidden>
  • Date: Mon, 4 Aug 2003 09:41:39 -0400

On Thursday, July 31, 2003, at 03:38 PM, Seth Willits wrote:

On Wednesday, July 30, 2003, at 12:50 PM, Seth Willits wrote:

For some reason, my progress bar will never show up if I [progressBar setDisplayedWhenStopped:NO]; in awakeFromNib. But if I leave it initially visible and then use [progressBar setDisplayedWhenStopped:NO]; later when I begin the process it works correctly, showing and hiding when it should.

Is there some known issue like this?

If I do it in both places it works correctly. Why is that? It seems that the nib file's Displayed When Stopped doesn't work at all.

Seth Willits

I just ran into this myself. I don't remember where I saw it, maybe in the header for NSProgressIndicator, but somewhere there is a comment that part of the NSProgressIndicator only works on 10.2 and later. If you save your NIB file in a pre 10.2 format, then the flag in IB won't be respected. Save it as a 10.2 NIB and all is well (unless you want to use it in pre 10.2). It would be nice if there were a warning - I only discovered it because I was switching between machines with different pref settings for IB. I got a warning that my project NIB version didn't match my selected default version. That's when I started playing around with the versions and discovered the solution.

Robert Palmer, Jr
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: ProgressIndicator Always Hidden If...
      • From: j o a r <email@hidden>
  • Prev by Date: Re: C char*'s and NSStrings
  • Next by Date: Re: ProgressIndicator Always Hidden If...
  • Previous by thread: Re: ProgressIndicator Always Hidden If...
  • Next by thread: Re: ProgressIndicator Always Hidden If...
  • Index(es):
    • Date
    • Thread