• 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: NSTextField keyboard event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField keyboard event


  • Subject: Re: NSTextField keyboard event
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 5 Mar 2008 06:46:49 -0500

I have a window which contains several NSTextField. In these NSTextField, I want that when a user presses a key which is not a number ( 0-9), the active NSTextField will not accept the key input (that is, it does nothing).

This looks like a job for NSFormatter ...

--
I.S.


_______________________________________________

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


  • Follow-Ups:
    • Re: NSTextField keyboard event
      • From: "peiyuan" <email@hidden>
References: 
 >NSTextField keyboard event (From: "peiyuan" <email@hidden>)

  • Prev by Date: Re: Triggering GUI login session from daemon? And reboot.
  • Next by Date: Re: Triggering GUI login session from daemon? And reboot.
  • Previous by thread: NSTextField keyboard event
  • Next by thread: Re: NSTextField keyboard event
  • Index(es):
    • Date
    • Thread