Open a NSTextField with a double click
Open a NSTextField with a double click
- Subject: Open a NSTextField with a double click
- From: Lorenzo <email@hidden>
- Date: Wed, 07 May 2003 18:39:34 +0200
My NSTextField is not editable as default
[myTextField setEditable:NO];
But when a user double click on it I should set it editable
so the user can write inside it
[myTextField setEditable:YES];
How can I control the double click on the NSTextField?
I know only the single "mouseDown" API,
and the "setDoubleAction" doesn't work on NSTExtField.
Any suggestion?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.