Re: Pasting Across NSTextFields
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