On Sep 25, 2008, at 9:18 PM, Graham Cox wrote:

On 26 Sep 2008, at 10:24 am, Gerd Knops wrote:

I would like to use a key other than "tab" to advance to the next text field, so that users can use a numeric keypad to enter something like "11-22-33" and have 11, 22 and 33 end up in different text fields.


I'd suggest not using a different key from 'Tab', since that's very much hardwired into every Mac user.

Alternative, why not just detect when the field has the required number of characters and move to the next field automatically? For numeric entry this is much more user-friendly.

For implementing such a thing, see -[NSWindow selectNextKeyView:].

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to