• 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
Tokenfield or textfield inside textview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tokenfield or textfield inside textview


  • Subject: Tokenfield or textfield inside textview
  • From: Alexander Griekspoor <email@hidden>
  • Date: Sat, 27 May 2006 00:08:28 +0200

Hi!

Does someone have experience, suggestions or maybe even sample code on how to embed a fully functional NSTokenField as a text attachment in a textview. I am thinking in the direction of the event attendees field in iCal. How was that done? I am able to get an NSTokenField subclass to be displayed, but I can't get it functional (see the tokens, get the delegate messages or the field editor to show up. Plus it doesn't react to mouse events. Any ideas?
For that sake, I would already be very happy if someone has an example on how to embed a functional textfieldcell to work as a textattachment (responding to mouseclicks, and allowing text selections and editing.
Many thanks for your help!
Alex


*********************************************************
                      ** Alexander Griekspoor **
*********************************************************
                The Netherlands Cancer Institute
                Department of Tumorbiology (H4)
          Plesmanlaan 121, 1066 CX, Amsterdam
                    Tel:  + 31 20 - 512 2023
                    Fax:  + 31 20 - 512 2029
                   AIM: email@hidden
                    E-mail: email@hidden
                Web: http://www.mekentosj.com

          LabAssistant - Get your life organized!
          http://www.mekentosj.com/labassistant

*********************************************************

_______________________________________________
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: behind the scenes of -drawInRect:
  • Next by Date: Separators in NSMenu via bindings
  • Previous by thread: Re: behind the scenes of -drawInRect:
  • Next by thread: Separators in NSMenu via bindings
  • Index(es):
    • Date
    • Thread