Changing the cell for a control
Changing the cell for a control
- Subject: Changing the cell for a control
- From: Nicholas Francis <email@hidden>
- Date: Tue, 6 Jan 2004 01:04:12 +0100
Hi guys...
In my 'lets make it look Final-Cut-like' sidetrack, I'm trying to
replace the cells used by NSButtons...
I've tried using [NSButton setCellClass: [OTEButtonCell class]];, as
described in 'Changing the cell for a control'...
This works fine for all buttons created from code, but not for the ones
loaded from a nib-file. Even moving the function to the start of main
didn't solve anything
Any suggestions as to how I can intercept the nib-cell instantiation?
TIA,
Nicholas Francis
------------------------------------------------------------------------
-------
Scheduling fascist - Over The Edge Entertainments
_______________________________________________
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.