Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desperate for bindings help! Can ya spare a few minutes?




On Dec 14, 2004, at 3:00 PM, Steven Palm wrote:
In this state, if you switch configs in the main GUI window and go back to the first one you will see that this causes the bindings system to get the right values and everything updates as it should.

This and the other problems can be further debugged by playing with a few attributes in Interface Builder that I'll confess I didn't fully understand when setting this up the first time.


If you go into the NSTableView and add a check in the Empty Selection in the "Allow" group. I had this cleared because I didn't want there to be a case when the user had no config selected.

Also go into the Configs NSArrayController and remove the checkboxes for "Automatically Prepares Content" (what does this do?), "Avoids Empty Selection", and "Preserves Selection".

Now when you hit the Start VPN button, the objects in the list become de-selected and if you re-select the object, everything works perfectly as it should, even the NSTextField that was not working before.

So there is some odd issue going on here with why the config object is being de-selected when the "StartVPN" button is hit. I've tried turning on alternately the "Empty" checkbox in the NSTableView and the NSArrayController, but can't get behavior that makes "sense" to me.

 Any ideas?

 Steve


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Desperate for bindings help! Can ya spare a few minutes? (From: Steven Palm <email@hidden>)
 >Re: Desperate for bindings help! Can ya spare a few minutes? (From: Steven Palm <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.