• 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: NSTextField and contextual menu (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField and contextual menu (again)


  • Subject: Re: NSTextField and contextual menu (again)
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 14 Sep 2002 23:59:03 +0200

On Saturday, September 14, 2002, at 11:19 , Arthur Clemens wrote:

By creating a custom NSTextFieldCell that I put in my text field at runtime, I am able to create a contextual menu for this field.
However, it only pops up when the field is made not editable. When the field is editable, I am stuck again with the default Apple menu (Spelling,
Cut, Copy, Paste).

I guess you wanna to read the window documentation of "field editor". When edited, the text field is effectively replaced by a NSTextView.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
  • Follow-Ups:
    • Re: NSTextField and contextual menu (solved)
      • From: Arthur Clemens <email@hidden>
References: 
 >NSTextField and contextual menu (again) (From: Arthur Clemens <email@hidden>)

  • Prev by Date: Re: MathPaper-Chapter 10 in Garfinkle/Mahoney
  • Next by Date: Re: When will drag'n'drop to the Finder work?
  • Previous by thread: NSTextField and contextual menu (again)
  • Next by thread: Re: NSTextField and contextual menu (solved)
  • Index(es):
    • Date
    • Thread