Re: editing NSCell
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