Drawer problem (probably newbie)
Drawer problem (probably newbie)
- Subject: Drawer problem (probably newbie)
- From: Mike Dean <email@hidden>
- Date: Tue, 31 Dec 2002 11:50:05 -0700
I have a multidoc app with several drawers. In one drawer there is a tableview, and I update that tableview when I push a button that is in that drawer. However, I need a way to assure that while the drawer is closed, if the tableview changes, that it is updated before opening the drawer.
I note that the button on the main window that is causing the drawer to open is connected to the toggle method from NSDrawer. However, I am unclear how to alter this handling.
I did go into IB and find NSDrawer, and it is possible to "add a method" to that - then I could reconnect the drawer to have it go to my method instead of toggle. However, this looks like I am altering the underlying NSDrawer class directly, so when I update my development environment I will lose those changes. Bad idea, I think.
Any help will be appreciated.
- Mike Dean
_______________________________________________
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.