to change background color of a cell in NSMatrix
to change background color of a cell in NSMatrix
- Subject: to change background color of a cell in NSMatrix
- From: "Navneet Kumar" <email@hidden>
- Date: Sun, 6 Jan 2008 03:19:19 +0530
Hi,
I have a NSMatrix of NSTextField cells.
For changing the background color I'm doing this (doesn't work)
[matrixAscii selectCellAtRow:1, column:0];
[matrixAscii setBackgroundColor: [NSColor yellowColor]];
Have tried this also: (doesn't work)
[matrixAscii selectCellAtRow:1, column:0];
[matrixAscii setCellBackgroundColor: [NSColor yellowColor]];
Also NSCell doesn't seem to list any method to do this except highlighting
the cell.
How to do this?
Thanks in advance.
Wishes,
Navneet
_______________________________________________
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