• 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
Delete Character keydown event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delete Character keydown event


  • Subject: Delete Character keydown event
  • From: Ken Turkowski <email@hidden>
  • Date: Mon, 14 Nov 2005 18:00:51 -0800

How can I check for a the delete key being depressed? The following doesn't work:

	NSString *keyChar = [theEvent characters];
	if ([keyChar isEqualToString:@NSDeleteCharacter) {
		// erase one object
	}

--
Ken Turkowski                  email@hidden
Reality Pixels           http://www.realitypixels.com
Computer Graphics     2D     3D     Immersive Imagery
Photo-mosaicing       Panoramas       Computer Vision
Applied Mathematics  Numerical Analysis  Optimization

_______________________________________________
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


  • Prev by Date: Re: Volunteers to test on 10.2
  • Next by Date: Maximum file name length?
  • Previous by thread: Re: CoreData: Attr. uniqueness, Multithreading
  • Next by thread: Re: Delete Character keydown event
  • Index(es):
    • Date
    • Thread