Am Fr,15.08.2008 um 19:41 schrieb [EMAIL PROTECTED]:


-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 PROTECTED]




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to