I'm afraid you found a bug, tracked by Radar #3130776 (for your
reference, in case you'd like to contact email@hidden at any point to
query its status).
Sorry for the inconvenience.
--Jessica
On Tuesday, December 17, 2002, at 07:22 AM, Jeff Adams wrote:
Hi,
I was considering using an NSDrawer in a channel I am writing,
and I can successfully call open/close/toggle on the drawer after
adding
it to my nib and hooking up the contentView with a new NSView
instance in my nib as well.
However I am noticing one annoying 'feature'.
Since the drawer is non-modal, I am seeing that if the user chooses to
leave the channel and load up a different channel, the drawer stays
open.
If the user goes back to my channel and requests to view the drawer
with a button that calls drawer.toggle, a new instance of the drawer
appears.
I tried hooking up a trigger to .didRemove or .willRemove
to call drawer.close but I guess
that is remove in the sense of deleting the channel as opposed
to remove the channel as the current active channel?
Does someone know if we can programmatically close a drawer if
the user left one open when the channel comes out of visible scope?
Otherwise I might just deal with the view in a modal sheet.
Thanks
Jeff
_______________________________________________
sherlock-channel-development mailing list |
email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/sherlock-channel-
development
Do not post admin requests to the list. They will be ignored.