dumb button/textfield question
dumb button/textfield question
- Subject: dumb button/textfield question
- From: pmcurry <email@hidden>
- Date: Mon, 1 Dec 2003 17:53:11 -0800
I successfully finished a small app which has an NSButton and an
NSTextfield among other things. The app needs two things to run: an int
and a signal to start processing. My UI design was to has the user
enter an int into the NSTextfield, hit return, then click the NSButton.
But,NOOOO! The first few times the user tried it, they enter the number
and clicked the button. No return in-between. Crash!
So, my question is... Can I read the value that has been entered into
the field without the user being required to hit return? Iguess my only
alternative, off the top of my head, would be to have the retrun key
after entering the number in the textfield be the same as the button
being pressed. But they made such an issue of 'I bet I could do it in
Swing/Java'. The user is not convinced of Cocoa/ObjC yet. Favores Java.
Thanks.
-Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.