NSPreferencePane shouldUnselect, repeated invocation?
NSPreferencePane shouldUnselect, repeated invocation?
- Subject: NSPreferencePane shouldUnselect, repeated invocation?
- From: "Sean McBride" <email@hidden>
- Date: Fri, 28 Mar 2003 11:25:07 -0500
- Organization: Matrox Electronic Systems Ltd.
Hi all,
I have a pref pane that allows users to change a hardware device's
configuration. Such changes can only be made if no applications are
using the hardware.
If the user tries to close the pref pane when the hardware is in use I
display a sheet telling them to quit apps using the hardware; it has 3
buttons: [discard changes] [cancel] [try again]. The idea is that if
they see this sheet, they quit other apps, then click 'try again'.
The problem is if the user just clicks try again without quitting said
applications. I still can't let the pref pane close, so my idea was to
simply show another sheet. This isn't working well at all. :( I think
because the whole shouldUnselect: interaction is finished.
So how could I do this? Is there a way to programatically restart the
shouldUnselect: process, as if the user tried to close the pref pane?
Thanks for any help!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Mac Software Designer +1-514-822-6000
Matrox Electronic Systems Ltd. Montrial, Quibec, Canada
_______________________________________________
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.