On 31 Jan 2009, at 3:19 PM, John Murphy wrote:
On many applications, when you enter in a serial number, there are
several text fields in a row, and as the user enters in the serial
number the cursor automatically jumps to the next text field at the
appropriate time.
I am assuming that this is a long string being displayed across
several text fields. How is this done?
I assume it is not done that way. If I were attempting this (I haven't
done it), I'd start with NSControl's controlTextDidChange: delegate
method (or NSControlTextDidChangeNotification notification) and jump
whenever a field holds the requisite number of characters after the
change.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/
>
_______________________________________________
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 arch...@mail-archive.com