Re: Flowing text between text fields
Re: Flowing text between text fields
- Subject: Re: Flowing text between text fields
- From: Fritz Anderson <email@hidden>
- Date: Sat, 31 Jan 2009 16:58:50 -0600
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 (email@hidden)
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:
This email sent to email@hidden