FROM : Louis C. Sacha
DATE : Wed Nov 24 13:41:42 2004
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
DATE : Wed Nov 24 13:41:42 2004
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
| Related mails | Author | Date |
|---|---|---|
| Jerome Foucher | Nov 24, 10:59 | |
| Louis C. Sacha | Nov 24, 13:41 |






Cocoa mail archive

