• 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: Progressbar does not survive hide/show
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progressbar does not survive hide/show


  • Subject: Re: Progressbar does not survive hide/show
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 05 Dec 2006 05:42:19 +0000
  • Thread-topic: Progressbar does not survive hide/show

> That code doesn't work at all for me when I run it in a loop. I think
> you need to redesign your progress bar handling.
>
> I would unhide those UI widgets only once and hide them only once,
> this can be done outside of the loop. No need to have a redundant call
> to a method.
>
> Good luck, let me know if you want further help.
> Peace, Alan

Hi Alan,

The code there is actually inside a Notification callback (and checks the
hidden state before changing it), so it is not really a loop, but I was able
to fix it by removing the hide method and replacing it with:

[cacheProgress startAnimation:self];    // shows it

[cacheProgress setDoubleValue:0];       // hides it
[cacheProgress stopAnimation:self];

Not sure why a normal hide fails, but there you go.

Many thanks!

Trygve


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: Progressbar does not survive hide/show
      • From: Alastair Houghton <email@hidden>
References: 
 >Re: Progressbar does not survive hide/show (From: "Alan Smith" <email@hidden>)

  • Prev by Date: NSTableView first column reorder...
  • Next by Date: Re: selecting specific field in a textual NSDatePicker
  • Previous by thread: Re: Progressbar does not survive hide/show
  • Next by thread: Re: Progressbar does not survive hide/show
  • Index(es):
    • Date
    • Thread