• 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
Setting the replace string in the Panther standard Find panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the replace string in the Panther standard Find panel


  • Subject: Setting the replace string in the Panther standard Find panel
  • From: Troy Gaul <email@hidden>
  • Date: Fri, 16 Jan 2004 03:32:31 -0600

We have an application that's using the Panther standard Find panel. We've wired up all the standard commands in the Find menu, and a few others easily allowed by performFindPanelAction:. However, one of the commands we'd like to allow is "Enter Replace String" to go along with "Enter Find String".

There doesn't seem to be a tag value to do that, nor does there seem to be a higher level API for the Find panel (at least one is not evident by reading the documentation). It recently occurred to me that perhaps there is a named pasteboard that contains the Replace string, and that by changing the contents of that pasteboard perhaps we could set it, but alas, looking at the pasteboard name constants, I see no such constant defined.

So, if we want this feature, are we left to implement our own find Panel, or am I missing some other way to accomplish what we're looking for?

Thanks,
_troy
_______________________________________________
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.

  • Prev by Date: Re: Cocoa App daemon with NSPanel
  • Next by Date: Re: Accessing objects from plain c code
  • Previous by thread: Re: Drawing UI Control items at run time
  • Next by thread: Objective-C and C
  • Index(es):
    • Date
    • Thread