• 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
Double-click on link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Unwanted transparency in custom view
  • Next by Date: Re: Protecting Software w/ Software License
  • Previous by thread: Re: copyPath:@"/private/var/run/syslog"
  • Next by thread: [newbie]NSImageView and scrollbars
  • Index(es):
    • Date
    • Thread