Re: Possible with Cocoa bindings?
Re: Possible with Cocoa bindings?
- Subject: Re: Possible with Cocoa bindings?
- From: John Stiles <email@hidden>
- Date: Thu, 28 Apr 2005 19:05:54 -0700
Maybe a formatter could be leveraged somehow?
On Apr 28, 2005, at 7:01 PM, Daniel Jalkut wrote:
It sounds to me like what you're trying to do is beyond the scope of both bindings and the target/action paradigm.
You want to engage in a lengthy operation triggered by "leaving a text field by tab."
Because there is no binding for "extied by tab" in the NSTextField class, there is nothing to bind against.
Because there is no "send action on exited by tab" option in NSTextField, no action will be sent.
I would think about whether your design is appropriate, considering two popular paradigms for responding to user interface changes are unsuitable for your needs.
Maybe it would be better to have a single button outside of the text fields that was responsible for "stimulating the next calculation." Then you could hookup whatever keyboard equivalent you wanted to the button instead of taking advantage of the fact that tabbing out of a text field *sometimes* means "I just changed a value."
Daniel
On Apr 28, 2005, at 5:42 PM, M. Carlson wrote:
On Thu, 28 Apr 2005 Raphael Sebbe wrote:
To me, the target/action paradigm is more suited to your applciation than bindings. I wouldn't use bindings in that case.
Okay, the normal target/action deal will work.
But I'm curious: Is what I've described beyond the scope of Cocoa bindings?
_______________________________________________
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
_______________________________________________
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