Re: Changing NSTextFieldCells' editing appearance?
Re: Changing NSTextFieldCells' editing appearance?
- Subject: Re: Changing NSTextFieldCells' editing appearance?
- From: Negm-Awad Amin <email@hidden>
- Date: Mon, 18 Aug 2008 10:15:31 +0200
Am Fr,15.08.2008 um 19:41 schrieb email@hidden:
-setBackgroundColor: didn't work?
Nope, it didn't. But even if it would've, the background would have
been
visible at all times. I'm sorry if I didn't write clearly enough,
No, I speak english badly enough to misunderstand this. :-)
but it's
only when the cell is being edited that the background becomes black
(Instead of white like it usually does). When I'm not editing the
cell,
the cell doesn't have a background.
Did you read the documentation about the relationship between cells
and views?
Is that in the Control and Cell programming topics for Cocoa? All I
could
find is that NSTextField uses NSTextFieldCell, but I'm not really
sure if
that's what you meant?
The behaviour of an NSTextField depends on the behaviour of an
NSTextFieldCell. Most of the behaviour of an NSTextField is done by an
NSTextFieldCell. So it is a little bit strange to ask, whether a cell
should behave as its control.
Probably you can clearify this:
- Do you use an NSTextFieldCell without its NSTextField?
- Which specific behaviour the control did fail using the cell?
Cheers,
Amin
Thanks for you help,
Tim Andersson
Amin Negm-Awad
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden