addCursorRect overrides action/connection?
addCursorRect overrides action/connection?
- Subject: addCursorRect overrides action/connection?
- From: "Brad Peterson" <email@hidden>
- Date: Fri, 24 Oct 2003 11:56:32 +0000
Hi all,
In a subclass of NSTextField (CustomLabel), I do the following:
- (void)resetCursorRects{
[self discardCursorRects];
[self addCursorRect:[self visibleRect] cursor: [CustomLabel
customCursor]];
}
customCursor shows up and everything seems to work ok... but when I actually
click on it, nothing happens. I've checked, and the connections are good and
point to methods that actually do something. Yet, even if I'm debugging, I
never get into that code.
Do I somehow have to account for this behavior in my subclass? Something
like [super action] or such? It doesn't make a lot of intuitive sense to me,
but I'm certainly open to learning. :)
Thanks,
B
_________________________________________________________________
Cheer a special someone with a fun Halloween eCard from American Greetings!
Go to
http://www.msn.americangreetings.com/index_msn.pd?source=msne134
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.