Re: Desperate for bindings help! Can ya spare a few minutes?
Re: Desperate for bindings help! Can ya spare a few minutes?
- Subject: Re: Desperate for bindings help! Can ya spare a few minutes?
- From: Steven Palm <email@hidden>
- Date: Wed, 15 Dec 2004 18:25:46 -0600
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:
This email sent to email@hidden