Hi all,

I have a window created in IB containing a NSScrollView embedding a NSTextView. 
In the same window I have a NSColorWell which is supposed to store the color 
preference for a given object not related to the NSTextView.

I would like to be able to change the color of the NSColorWell without 
affecting the NSTextView at all. However, if I start to type in the text field 
and then click on the NSColorWell, I am able to change the color of the well 
but this also affects the color of the character that will be typed later on in 
the text field. In other words, the color panel changes the color of both the 
well and the text which is not what I want.

I spent a lot of time looking in the doc to isolate this NSColorWell from the 
NSTextView without finding a solution.

I would be grateful if someone could help me with this or point me to the 
relevant part of the documentation.

Thanks,

Bernard.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to