NSColorPicker and RunModalForWindow
NSColorPicker and RunModalForWindow
- Subject: NSColorPicker and RunModalForWindow
- From: Robert Clair <email@hidden>
- Date: Tue, 28 Sep 2004 09:41:36 -0400
I have a custom NSColorPicker that I add to the system color picker. Its
view has some sliders and buttons and a subview the processes mouse down
events. Everything works perfectly in normal operation.
I also have a panel with a colorwell in it. I use it as a modal panel:
[NSApp runModalForWindow: myPanel];
at a certain point to force a color choice.
The system color pickers work properly in this situation - clicking on
the
colorwell summons the system color panel and all the various widgets on
the
system provided pickers work properly. But my custom picker only half
works.
The subview gets and properly processes the mouse down events. The
sliders
and buttons enabled - you can move the sliders and you can change which
radio button is selected. But the corresponding action routines are
never called.
The target of the sliders and buttons is my custom picker which is the
nib's owner.
I haven't tried redoing the panel as a sheet yet, but short of that does
anyone have any suggestions ?
Thanx
Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden