Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi,

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?


Thank you,
Norio Ota
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.