• 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
Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Force NSOpenPanel's -panel:shouldShowFilename: to get called again?


  • Subject: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
  • From: John Stiles <email@hidden>
  • Date: Thu, 17 Jan 2008 16:43:07 -0800

In an NSOpenPanel, I want to force the open panel to re-check the "-panel:shouldShowFilename:" status on all the visible files. (In my accessory view, you can change options about what you want to open, and I want the open panel to honor any changes immediately.)

I've done some Googling and some people have said that calling "[window update]" would cause this to happen, but it doesn't seem to be working for me in Leopard. Neither [window update] and [window display] seem to have any visible effect.

If I go to the Finder and create a new file, this does force the Open panel to re-check everything. And of course if I browse to a different folder and then browse back, that also solves it. However neither of these tricks seems to be very useful :)

Any ideas? Did this change in Leopard or is there some trick I'm missing?


_______________________________________________

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


  • Follow-Ups:
    • Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
      • From: Corbin Dunn <email@hidden>
    • Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: Show application when dock icon clicked
  • Next by Date: Record or history of user activity?
  • Previous by thread: mountedLocalVolumePaths and fileAttributesAtPath strange behavior
  • Next by thread: Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
  • Index(es):
    • Date
    • Thread