• 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
performFindPanelAction: in WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

performFindPanelAction: in WebView


  • Subject: performFindPanelAction: in WebView
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 24 Mar 2010 10:54:29 +0700

The documentation says about performFindPanelAction: in WebView: "An action method that opens the Find menu and Find panel."

In my app though, the only thing it does is beeping (Jump to Selection works, all other MenuItems are gray).

The following code:
			id d = [ NSApp targetForAction: @selector(performFindPanelAction:) ];
			NSLog(@"%s targetFor performFindPanelAction: is %@",__FUNCTION__,d);

			id f = [ theWindow firstResponder ];
			for(;;)
			{
				NSLog(@"%s f %@",__FUNCTION__,f);
				if ( f == nil ) break;
				f = [ f nextResponder ];
			};
results in:
03  targetFor performFindPanelAction: is <WebHTMLView: 0x100451a90>
04  f <WebHTMLView: 0x100451a90>
04  f <WebClipView: 0x119de40d0>
05  f <WebDynamicScrollBarsView: 0x119de3840>
06  f <WebFrameView: 0x119de3150>
07  f <WebView: 0x119de0f90>
07  f <NSView: 0x119de0870>
08  f <NSTabView: 0x119de0500>
09  f <NSSplitView: 0x119dd70a0>
11  f <NSView: 0x119dc8580>
12  f <NSWindow: 0x10044ef30>
13  f <NSWindowController: 0x119dc6cd0>
13  f (null)

So it seems, that my nib has the right connections.

What am I missing?
10.6.2


Kind regards,

Gerriet.

_______________________________________________

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: performFindPanelAction: in WebView
      • From: Jeff Johnson <email@hidden>
  • Prev by Date: Re: NSTreeController, NSBrowser image setting
  • Next by Date: Automating Photoshop CS4?
  • Previous by thread: Re: NSTreeController, NSBrowser image setting
  • Next by thread: Re: performFindPanelAction: in WebView
  • Index(es):
    • Date
    • Thread