• 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
Substitute a check box or a popup for as a field editor in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Substitute a check box or a popup for as a field editor in a tableview


  • Subject: Substitute a check box or a popup for as a field editor in a tableview
  • From: comcast <email@hidden>
  • Date: Sat, 19 Jan 2008 09:11:08 -0500

I am porting a MacApp program to cocoa. I have hit a road block. I have created a Tableview of text fields that I work fine. I need a Tableview as the items and their type are not always the same and are specified by data. Hence I can not just define the fields in IB. Their value can always be shown as text, but this is not always the best way to edit them. Some of the items in the Tableview are Booleans and some are a selection from a standard lists. The behavior I had in MacApp was, when the user clicks on one of these fields an appropriate field editor appears in the field. If it is a normal text field the regular text fieldeditior is fine. With either the Booleans or the Lists, a check box or a pop-up to edit the field is shown as the field editor. When the user hits Enter, the appropriate Boolean value or associated PopUp-text value is shown in the tableview field.

I have been reading about use of windowWillReturnFieldEditor but this seems to want a NSTextView as the editor. I want to provide some form of button. Any help on an approach would be appreciated. Thanks

_______________________________________________

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: Substitute a check box or a popup for as a field editor in a tableview
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: Where the file is?
  • Next by Date: Re: Substitute a check box or a popup for as a field editor in a tableview
  • Previous by thread: Re: Where the file is?
  • Next by thread: Re: Substitute a check box or a popup for as a field editor in a tableview
  • Index(es):
    • Date
    • Thread