IBPalette problem
IBPalette problem
- Subject: IBPalette problem
- From: Andrew Merenbach <email@hidden>
- Date: Sat, 11 Jan 2003 19:46:38 -0800
I've designed an IBPalette for a periodic table, with custom subclasses
of NSButton and NSButtonCell. The main feature is the ability to
create a matrix of colored buttons, which works quite well.
After setting a color and a tag, however, then clicking upon a new cell
in a matrix, however, some of the newly-selected cell's properties
change to match those of the previously selected cell; this includes
tags (which are integers), and transparent, continuous, and enabled
status, but doesn't appear to affect the title or color.
Short of requesting someone check the entire project for me, are there
any good tutorials on creating an IBPalette for a for items that can be
put into matrices? I based my project largely off of Apple's included
ProgressViewPalette example, and the general concept is largely the
same, except that my project doesn't change an instance variable
controlView every time drawInteriorWithFrame: is called (though adding
that doesn't seem to fix my problem).
Take care,
Andrew Merenbach
_______________________________________________
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.