Missing something with bindings
Missing something with bindings
- Subject: Missing something with bindings
- From: "John C. Welch" <email@hidden>
- Date: Tue, 20 Apr 2010 15:13:09 -0400
- Thread-topic: Missing something with bindings
I thought I had this...
I have a text field that I had attached via the usual missing values, ctrl
drag setup, and that worked fine. i.e. Original property was:
property currentSSID: missing value
Then to set the value, I just used:
currentSSID's setStringValue_(theCurrentInterface's ssid())
Worked great.
So after Shane's great explanation of bindings, and feeling flush with my
newfound knowledge, I take that and change it to:
property currentSSID: ""
Then in the bindings palette for the text field, (not the text field cell, I
was careful about that), I set the value to bind to the application
delegate, and set the variable name in the model key path.
Fail. No love. No errors mind you, just no data ever shows up. The field
itself is pretty simple, it's not even editable. Just selectable. I'm not
sure what I'm doing wrong here, but I bet it's something simple and kinda
dumb on my part.
Hepl?
--
Be an example to your men, in your duty and in private life. Never spare
yourself, and let the troops see that you don't in your endurance of fatigue
and privation. always be tactful and well-mannered and teach your
subordinates to do the same. Avoid excessive sharpness or harshness of
voice, which usually indicates the man who has shortcomings of his own to
hide.
- Field Marshall Erwin Rommel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden