• 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: Ricky Sharp <email@hidden>
  • Date: Thu, 13 Jan 2005 21:37:22 -0600


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


  • Follow-Ups:
    • Re: editing NSCell
      • From: email@hidden
References: 
 >editing NSCell (From: email@hidden)

  • Prev by Date: editing NSCell
  • Next by Date: Anyone got SSL over NSStreams to work?
  • Previous by thread: editing NSCell
  • Next by thread: Re: editing NSCell
  • Index(es):
    • Date
    • Thread