Rebel NSMatrix cell?
Rebel NSMatrix cell?
- Subject: Rebel NSMatrix cell?
- From: Bob Estes <email@hidden>
- Date: Fri, 3 Jun 2005 12:36:18 -0400
I have a strange bug that is not major but is driving me nuts.
I have an NSMatrix of NSTextFieldCell. Most of the time I want the
cells just to display text of my choosing (or nothing), so I set them
all to be non-editable by code.
The (0,0) cell is beyond my control. Actually it appears that there is
another cell on top of it that is beyond my control. That cell location
gives me a blinking cursor and does display typed letters despite my
attempted settings. All the other cells behave the way I want them to.
In the debugger, I tried to set the background color of the problem
cell to green just to verify which cell was which. According to the
debugger the color change is made (shows up in the NSTextFieldCell
variable display as changed), but it does not display as green. I can
change the background color of any other cell, so it is just that one
(0,0) cell that is the problem. It is really puzzling that the
background color registers as changed in the debugger for cell (0,0),
yet doesn't display, which is why I say it's as though there were
another cell on top of (0,0).
I tried moving the NSMatrix, but the bad cell moved with it.
I've tried all the NSMatrix modes to no avail.
I'm using IB 2.4.2 and XCode 1.5 under 10.3.9.
I've also discovered I can't "sweep the dirt under the rug", because I
can't get another view to partially cover the matrix. It covers in IB,
but not when it actually runs. Is this a bug or a feature?
Does anyone have any ideas?
Thanks,
Bob Estes
_______________________________________________
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