On 9/11/12 11:44 AM, Koen van der Drift wrote:
I am using a bunch of textfields for user entry and an NSButton to start a
calculation with the values entered. I noticed that the values are only used
when the user changes to focus to another control. So, if in one textfield
the value is changed from 1 -> 2, and the user immediately hits the Calculate
button, the value 1 is used instead of 2.

In IB, set the action to either 'Send on end editing' and 'Send on enter
only', but neither one uses the updated value unless the focus goes to
another control first.

Is there a way to do this?

You probably want "Continuous" in the "Control" section.

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to