• 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: Find Panel Stopped Working (maybe)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find Panel Stopped Working (maybe)


  • Subject: Re: Find Panel Stopped Working (maybe)
  • From: John Nairn <email@hidden>
  • Date: Sat, 20 Dec 2008 11:52:14 -0800

Thanks Kyle. That did solve it. I am guessing it never worked before and that my original nib file was created before 10.3 and thus did not use the required performFindPanelAction tags.

I did wire them to the correct actions, by I assume NSTextView validated according to those tags and since they were wrong, the menu commands were always disabled.

On Dec 20, 2008, at 11:18 AM, Kyle Sluder wrote:

On Sat, Dec 20, 2008 at 2:10 PM, John Nairn <email@hidden> wrote:
1. I noticed the items in the Find menu were not connected to any actions. I
tried connecting them all to performFindPanelAction: (I could not find any
other options that make sense), but that did not make it work.

Looking at TextEdit's MainMenu.nib, Find, Find Next, Find Previous, and Use Selection for Find are all wired up to First Responder's -performFindPanelAction:. Find is tag 1, Find Next=2, Find Previous=3, and Use Selection=7. Jump to Selection is wired up to First Responder's -centerSelectionInVisibleArea:.

Maybe you've wired up your actions to the wrong object?

--Kyle Sluder

--------------- John Nairn GEDitCOM - Genealogy Software for the Macintosh http://www.geditcom.com


_______________________________________________

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


References: 
 >Find Panel Stopped Working (maybe) (From: John Nairn <email@hidden>)
 >Re: Find Panel Stopped Working (maybe) (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: How to use animation for CALayer frame.size attribute?
  • Next by Date: Re: Trackpad multi touch events in Mac OSX
  • Previous by thread: Re: Find Panel Stopped Working (maybe)
  • Next by thread: Copying Managed Objects from App to Doc MOContext
  • Index(es):
    • Date
    • Thread