• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Flowing text between text fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Flowing text between text fields (From: John Murphy <email@hidden>)

  • Prev by Date: Re: maximum theoretical speedup with dual quad processors
  • Next by Date: Re: maximum speedup bound on multi-core processors
  • Previous by thread: Flowing text between text fields
  • Next by thread: Re: Flowing text between text fields
  • Index(es):
    • Date
    • Thread