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

Re: editing NSCell


  • Subject: Re: editing NSCell
  • From: email@hidden
  • Date: Fri, 14 Jan 2005 00:19:28 -0500

Thats exactly what im doing now. But it seems, by reading the docs on it, there's more to it and i dont really understand it that well, so i was looking for more of an example or some sample code.

thanks

Alex

On 13-Jan-05, at 10:37 PM, Ricky Sharp wrote:


On Jan 13, 2005, at 9:20 PM, email@hidden wrote:

I have an NSControl subclass that contains 1 NSTextFieldCell. How can i set it up so that when the view is clicked over that cell, it starts an editing process?

Haven't yet had to do this myself, but it's my understanding that you need to work with the field editor.


I think you could provide an override of mouseDown: in your custom control such that clicks in the cell send the editWithFrame:inView:editor:delegate:event: message to the cell.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >editing NSCell (From: email@hidden)
 >Re: editing NSCell (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Know about Mutability
  • Next by Date: Deleting Java docs (was Re: Obj-C NSRect methods help)
  • Previous by thread: Re: editing NSCell
  • Next by thread: Anyone got SSL over NSStreams to work?
  • Index(es):
    • Date
    • Thread