Double-click on link
Double-click on link
- Subject: Double-click on link
- From: Donald Brown <email@hidden>
- Date: Mon, 17 Jun 2002 15:50:28 -0500
I have a NSTextView where I'm recognizing and highlighting URLs, and am
currently opening those URLs when the user clicks on them. But, this makes
it difficult to edit the text, and it's been suggested that I only open the
URL on a double-click. No problem, I'll just record last position and time,
and recognize a double-click myself.
No good. Apparently, on a real double-click, the clickedOnLink delegate
message is never called. If I go long enough between the clicks that the
system doesn't think it's a double-click, it works, but that's not great.
Am I trying the impossible? Is there some hook I've missed?
Donald
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
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.