Mailing Lists: Apple Mailing Lists

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

Re: Implementing Delete key event



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:
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.