• 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: Pasting Across NSTextFields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pasting Across NSTextFields


  • Subject: Re: Pasting Across NSTextFields
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 27 Jan 2006 11:08:36 -0600

On Friday, January 27, 2006, at 09:15AM, Josh Ferguson <email@hidden> wrote:

>Currently I'm trying to implement a set of activation license text
>fields. I have 10 fields in total and I want to be able to past across
>all ten text fields with a single paste into the first one. I also want
>to implement automatically moving to the next field with the current
>field has X number of characters. Anyone have any recommendations on how
>to accomplish this?

In terms of moving to the next field, see textDidChange: (NSTextDidChangeNotification).

As far as pasting in multiple fields, not sure about that.  I would think there may be a way to intercept the paste though.  From there, just parse the text and directly set your fields.

--
Rick Sharp
Instant Interactive(tm)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Pasting Across NSTextFields (From: "Josh Ferguson" <email@hidden>)

  • Prev by Date: [Moderator] Cocoa and list resources
  • Next by Date: Newb Question: escaping quotes in a string
  • Previous by thread: Pasting Across NSTextFields
  • Next by thread: [Moderator] Cocoa and list resources
  • Index(es):
    • Date
    • Thread