• 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
Delegation methods from NSOpenPanel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delegation methods from NSOpenPanel?


  • Subject: Delegation methods from NSOpenPanel?
  • From: Laurent Daudelin <email@hidden>
  • Date: Thu, 06 Feb 2003 00:50:07 -0500

Hi all!

I would need to have my delegate gets a message whenever the user has hit
the OK button or hit Return in an NSOpenPanel. I looked at the doc and saw
that NSOpenPanel inherits from NSSavePanel, and NSSavePanel has this
delegation method 'panel:userEnteredFilename:confirmed:' that seemed to be
the one to do the trick. Unfortunately, although NSOpenPanel does send at
least one delegation method that it inherits from NSSavePanel, it sadly
doesn't send the 'panel:userEnteredFilename:confirmed:' method that I would
need.

Anybody knows the reason for that? Any workaround?

Thanks in advance!

-Laurent.
--
============================================================================
Laurent Daudelin AIM/iChat: LaurentDaudelin <http://nemesys.dyndns.org>
Logiciels Nemesys Software mailto:email@hidden

FUBAR n.: The Failed UniBus Address Register in a VAX. A good example of how
jargon can occasionally be snuck past the suits; see foobar, and foo for a
fuller etymology.
_______________________________________________
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: Delegation methods from NSOpenPanel?
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Question about TableView - how do I know which tableView?
  • Next by Date: Re: Question about TableView - how do I know which tableView?
  • Previous by thread: Re: RTFD from a Foundation app?
  • Next by thread: Re: Delegation methods from NSOpenPanel?
  • Index(es):
    • Date
    • Thread