Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,710
6,304
I'm making a document based application. I have toggle controls on the window for pinning and unpinning it and for collapsing and expanding the window.

When I go into the bindings tab for the toggle buttons, I see that I can either bind to the file's owner, to the application, or to the shared defaults controller.

Currently, I have it bound and working with the file's owner (which is the document class,) but this isn't really what I want. When I'm finished with my application, I want each window to be capable of having multiple documents open in it, so these settings belong to the window itself, not the documents open in it.

How can I get the control to bind with the window?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.