• 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
Re: disable CTRL + click in textfiled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disable CTRL + click in textfiled


  • Subject: Re: disable CTRL + click in textfiled
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 12 Aug 2005 07:19:58 -0600


On Aug 12, 2005, at 5:21 AM, Harmanpreet Bachal wrote:

Can someone plz tell me how to disable CTRL + click in NSTextfiled.

I think you can accomplish that by making a custom NSTextView subclass that returns nil on -menuForEvent:, and use the window delegate to return an instance of that subclass for the text field's field editor. But why do you want to do this?


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ 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
References: 
 >disable CTRL + click in textfiled (From: Harmanpreet Bachal <email@hidden>)

  • Prev by Date: How to Create Charts & Graphs
  • Next by Date: Improving 10.3 scroll bar auto-hide behaviour?
  • Previous by thread: disable CTRL + click in textfiled
  • Next by thread: How to Create Charts & Graphs
  • Index(es):
    • Date
    • Thread