• 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: context-sensitive menu for NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: context-sensitive menu for NSTextField


  • Subject: Re: context-sensitive menu for NSTextField
  • From: j o a r <email@hidden>
  • Date: Mon, 9 May 2005 10:25:15 +0200


<http://developer.apple.com/documentation/Cocoa/Conceptual/ TextEditing/Tasks/FieldEditor.html>


j o a r

On 9 maj 2005, at 10.08, david kiers wrote:

By subclassing NSTextField and replacing the menuForEvent: method I managed to control which menu is returned after a control-click in the field.
A problem arises when the text field becomes the first responder, this is when the default text menu reappears. Where does the menuForEvent: go to now?



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >context-sensitive menu for NSTextField (From: david kiers <email@hidden>)

  • Prev by Date: context-sensitive menu for NSTextField
  • Next by Date: I want NSTextField to grow as text is entered
  • Previous by thread: context-sensitive menu for NSTextField
  • Next by thread: I want NSTextField to grow as text is entered
  • Index(es):
    • Date
    • Thread