• 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: What type of view for a simple editable list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What type of view for a simple editable list?


  • Subject: Re: What type of view for a simple editable list?
  • From: p3consulting <email@hidden>
  • Date: Wed, 18 Feb 2004 09:04:50 +0100

> not automatically, no. As you say, you have to go to the add/remove
> button situation.
>
>

or subclass NSTableView and use RETURN as the "new line" trigger
return = create after the selected one, at the end if none selected
shift return = create before the selected one, as first line if none
selected
(backspace/delete key for deleting selected line)

or always add an empty line at the end (` la FileMaker in "portals")
for the user to enter new data
this means testing for setting the object value of the last line in
(void)tableView:(NSTableView *)tableView setObjectValue:(id)object
forTableColumn:(NSTableColumn *)tableColumn row:(int)row
and add a new blank one there (and call noteNumberOfRowsChanged).

note that using text view to enter list data is also what does
FileMaker

the best is to test various solutions with you installed base or beta
testers


Pascal Pochet
email@hidden
_______________________________________________
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.

References: 
 >Re: What type of view for a simple editable list? (From: Jerry Krinock <email@hidden>)
 >Re: What type of view for a simple editable list? (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: How to make borderless window resizable
  • Next by Date: Re: Variable height outline view
  • Previous by thread: Re: What type of view for a simple editable list?
  • Next by thread: Re: What type of view for a simple editable list?
  • Index(es):
    • Date
    • Thread