• 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
Detecting when the user trys to select text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting when the user trys to select text


  • Subject: Detecting when the user trys to select text
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 3 Feb 2006 20:12:23 +0000

I need some help with my subclass of NSTextFieldCell. I simply have a NSTextField instance which uses my custom NSTextFieldCell as its cell. I can use trackMouse: etc. to detect when the user clicks on the edge of the control, but the actual text area itself seems to use something different.

What do I need to detect when the mouse button goes down over the text? I have a feeling that it's not actually something within my NSTextFieldCell but rather the field editor etc.

Anyone have any experience with this?
Thanks,
Mike.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Putting up sheet without requesting attention
  • Next by Date: arrays of doubles
  • Previous by thread: Putting up sheet without requesting attention
  • Next by thread: arrays of doubles
  • Index(es):
    • Date
    • Thread