Am 20.04.2011 um 08:59 schrieb Abhijeet Singh:

> I tried to simulate Esc key press

This should make you feel that you do something wrong.

> What i am trying to do now is when user try to click on some other row while 
> the current row is in edit mode I want to ask him that the "current record is 
> not saved yet . do you want to save it?". If he says yes then i want to save 
> it. For that I need to simulate the Esc key press so that my routine on Esc 
> key press gets called.

Why? Just have a new "save" method. Call that from your Escape and when he says 
yes.

        atze

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to