• 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: Implementing Delete key event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing Delete key event


  • Subject: Re: Implementing Delete key event
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 09 Dec 2008 09:21:45 -0500

Mahaboob wrote:

Hi all,
In my application NSPopUpButton shows the table names in the database.
When I'm pointing one table name and hitting delete key, I need to delete
the table from the database. How can I implement delete key event for PopUp
Button?

If I'm understanding correctly (or even close to correctly) what you're asking for, I think my answer is going to be that you need to rethink your UI. The behavior you seem to be describing is well outside the normal interaction with a popup button and I'd argue that it's likely to confuse users or even be invoked unintentionally. Both of those are undesirable during an operation that's inherently destructive.


_______________________________________________

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: [Moderator] Re: Design patterns: MVC, MVP, Passive View... where is Apple heading???
  • Next by Date: Re: Development workflows for signed code?
  • Previous by thread: Implementing Delete key event
  • Next by thread: Another NSOutlineView question
  • Index(es):
    • Date
    • Thread