Re: Trouble editing a custom NSCell
Re: Trouble editing a custom NSCell
- Subject: Re: Trouble editing a custom NSCell
- From: "Louis C. Sacha" <email@hidden>
- Date: Wed, 24 Nov 2004 04:41:42 -0800
Hello...
What type of control / view is managing the cell?
It is probably using
selectWithFrame:inView:editor:delegate:start:length:
to begin editing instead...
Hope that helps,
Louis
Hi all,
I've subclassed NSCell so that it can display an
icon and two lines of text. The first line of
text is editable by double-clicking on the cell.
Right now that works fine, but my problem is the
appearance of the cell while editing. I'd like
to change the size and position of the text
editor so that it's displayed exactely on top of
the first line of text. So I've tried to
override the -
(void)editWithFrame:inView:editor:delegate:event:
method in order to change the rectangle of the
NSText.
Unfortunately, this method is never called when the cell is edited.
Did I miss anything ?
Thanks
Jérome
_______________________________________________
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