• 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: set the label for the left hand expression / popup in an NSPredicateEditorRowTemplate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set the label for the left hand expression / popup in an NSPredicateEditorRowTemplate?


  • Subject: Re: set the label for the left hand expression / popup in an NSPredicateEditorRowTemplate?
  • From: Peter Ammon <email@hidden>
  • Date: Wed, 13 Jan 2010 16:12:52 -0800

On Jan 13, 2010, at 3:46 PM, Mike Chambers wrote:
> [...]
> I then add this to the NSPredicateEditor, and it works as expect.
> However, the left column in the editor for this row shows
> "professions" (the key value). I want it to show "Profession". If I
> was using IB this would be very simple, as I could just rename it in
> the popup.
>
> How can I set the label for the left hand name in the editor?

You can simply change the title of the menu item in the NSPopUpButton.  You can access the first popup button with [[template templateViews] objectAtIndex:0].

-Peter

_______________________________________________

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: 
 >set the label for the left hand expression / popup in an NSPredicateEditorRowTemplate? (From: Mike Chambers <email@hidden>)

  • Prev by Date: Re: NSArrayControllers not repopulating after NSPersistentDocument load
  • Next by Date: Re: Problem printing offscreen PDFViews
  • Previous by thread: set the label for the left hand expression / popup in an NSPredicateEditorRowTemplate?
  • Next by thread: Re: NSArrayControllers not repopulating after NSPersistentDocument load
  • Index(es):
    • Date
    • Thread