• 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
Open a NSTextField with a double click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSDateFormatter specfier for "short date"
  • Next by Date: mouse clicks and first responders
  • Previous by thread: Can't get my app to be scriptable
  • Next by thread: Re: Open a NSTextField with a double click
  • Index(es):
    • Date
    • Thread