• 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
Restricting control characters in an NSSearchField/NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Restricting control characters in an NSSearchField/NSTextField


  • Subject: Restricting control characters in an NSSearchField/NSTextField
  • From: augusto callejas <email@hidden>
  • Date: Wed, 7 Jul 2010 13:16:25 -0700

hi-

i have an NSSearchField embedded in an NSMenu and when i have another NSMenuItem highlighted,
and i navigate the menu using the up and down arrows, those characters are being added to my
NSSearchField (i.e. 0x30, 0x31, etc), but i'd rather not have those characters added to the string text
of my NSSearchField.  is there a way to restrict those characters from being added to my search field?

thanks,
augusto._______________________________________________

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

  • Prev by Date: Re: Sanity Check
  • Next by Date: 2009 WWDC videos
  • Previous by thread: Re: Sanity Check
  • Next by thread: 2009 WWDC videos
  • Index(es):
    • Date
    • Thread