• 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: Proceeding to nextKeyView when a NSTextField is full.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proceeding to nextKeyView when a NSTextField is full.


  • Subject: Re: Proceeding to nextKeyView when a NSTextField is full.
  • From: Allan Odgaard <email@hidden>
  • Date: Fri, 5 Mar 2004 21:03:50 +0100

On 5. Mar 2004, at 20:42, Huyler, Christopher M wrote:

[...] That way the user doesn't have to hit tab or click on the next text field.

And that way the user won't a) be able to paste the 25 character license key from e.g. an e-mail and b) if he enters a wrong fifth digit, he won't be able to use 'backspace' (since he is now in the new field).

Is there a way to do this in Cocoa?

Watch the NSTextDidChangeNotification (or implement corresponding delegate method)...
_______________________________________________
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.


References: 
 >Proceeding to nextKeyView when a NSTextField is full. (From: "Huyler, Christopher M" <email@hidden>)

  • Prev by Date: Re: Passing C Style Function Callbacks in Cocoa
  • Next by Date: [?] Re: Addressbook style textfield
  • Previous by thread: Proceeding to nextKeyView when a NSTextField is full.
  • Next by thread: [?] Re: Addressbook style textfield
  • Index(es):
    • Date
    • Thread