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

Re: Find panel


  • Subject: Re: Find panel
  • From: Ivan Myrvold <email@hidden>
  • Date: Sun, 1 Aug 2004 22:58:24 +0200

I tried the following in the NSSearchField action method:

NSPasteboard *pb = [NSPasteboard pasteboardWithName:NSFindPboard];
[pb setString:[sender stringValue] forType:NSStringPboardType];

But when I bring up the Find panel, I find the old search string in the
find field, and not what I set the find pasteboard to. I must be
missing something here. And I don't see what the
performFindPanelAction: have to do with the search string.

Ivan

Pe 1. aug. 2004 kl. 19.32 skrev Fritz Anderson:

> Look into -[NSTextView performFindPanelAction:] (10.3 and later), also
> the find pasteboard, [NSPasteboard pasteboardWithName: NSFindPboard].
>
> -- F
>
> On 1 Aug 2004, at 9:07 AM, Ivan Myrvold wrote:
>
>> How do I programmatically set the find string in the find panel for a
>> document-based application? (Same as when a user selects command-E).
_______________________________________________
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: Find panel
      • From: Glenn Andreas <email@hidden>
References: 
 >Find panel (From: Ivan Myrvold <email@hidden>)
 >Re: Find panel (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Document-based Bindings and an Inspector window
  • Next by Date: Re: Find panel
  • Previous by thread: Re: Find panel
  • Next by thread: Re: Find panel
  • Index(es):
    • Date
    • Thread