• 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: force NSTextField to accept only Roman, or the other character codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: force NSTextField to accept only Roman, or the other character codes


  • Subject: Re: force NSTextField to accept only Roman, or the other character codes
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 10 Mar 2008 12:40:15 -0400
  • Organization: Rogue Research

On 3/8/08 11:05 AM, norio said:

>My app's window has several NSTextFields. Some of them only accept
>Roman characters, and the others prefer to Japanese.
>So when the cursor comes to the text field, I want input method to
>change suitable characters depending on the text field.
>Not using validation after user types something in it.
>I believe Carbon has APIs for this purpose. Is there any ways to do
>this with Cocoa?

In IB3, in the 'Attributes Inspector' for an NSTextField, there is a
checkbox 'Only Roman Characters', maybe that will help?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

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: 
 >force NSTextField to accept only Roman, or the other character codes (From: norio <email@hidden>)

  • Prev by Date: CIImage (TIFFRepresentation) memory leak
  • Next by Date: Re: fileExistsAtPath with * to indicate random
  • Previous by thread: Re: force NSTextField to accept only Roman, or the other character codes
  • Next by thread: Re: Cocoa-dev Digest, Vol 5, Issue 335
  • Index(es):
    • Date
    • Thread