The documentation notes "If you compile for Cocoa, a TextField/TextArea automatically registers for color panel. So in order to avoid them updating text color with color panel selection, clear the focus by calling window.clearfocus method."
However, I'm trying to use the NSColorPanelMBS to change the color of text within a TextArea, so I don't want to remove the focus. Is there any way to work around this? Right now what happens is that the NSColorPanelMBS.Changed event is being triggered both when the user selects a new color (good!) but also when the textArea gets focus or has the selection change (bad!). Is there a way for the NSColorPanelMBS to determine whether the color change was due to a user clicking vs. the textArea telling it to update? thx _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
