• 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: Addressbook style textfield
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Addressbook style textfield


  • Subject: Re: Addressbook style textfield
  • From: Alexander Griekspoor <email@hidden>
  • Date: Wed, 21 Jan 2004 22:52:03 +0100

Hi!
I have exactly the same question as was brought up a while ago, and am looking for a pointer / some sample code that could get me started.
I have created a great new cocoa app for molecular biologists that displays sequence traces in a custom view.
Now I would like the user to edit a line of text that is drawn above the traces, using a similar input textfield address book uses and keynote. It should popup when the users clicks on the letter, allowing input, after which it disappears again and the letter is changed. Scott is referencing to the WWDC tips, but alas I'm not rich enough to visit the WWDC or buy a premium ADC membership. Are the WWDC examples (of last year and those before) available anywhere publicly? I guess I would manage with the source only, even if I did not see the accompanying section...
Again, any help, samples and/or pointers are very much appreciated!
Thanks!
Alex

Re: Addressbook style textfield

FROM: Scott Anguish
DATE: 2003-12-06 09:15

On Dec 6, 2003, at 2:57 AM, Francisco Tolmasky wrote:

> I'm attempting to implement (just started) an address book style text
> field (the one that pops up and auto expands). Before I begin
> however, I was wondering if there was already an implementation
> available or any attempts I could work off of. Any pointers would be
> great too. In particular, how does one make an nstextview that
> autoresizes itself?
>

this is done using an NSTextView (a single one for all the fields)

there is example code for this in the WWDC Tips
_______________________________________________

*********************************************************
** 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
E-mail: email@hidden
Web: http://www.mekentosj.com

iRNAi, do you?
http://www.mekentosj.com/irnai

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

*********************************************************
** 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
E-mail: email@hidden
Web: http://www.mekentosj.com

EnzymeX - To cut or not to cut
http://www.mekentosj.com/enzymex

*********************************************************
_______________________________________________
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.

  • Prev by Date: File's Owner Attributes not shown
  • Next by Date: Re: CMKY <-> RGBA transforms?
  • Previous by thread: Re: File's Owner Attributes not shown
  • Next by thread: crop image with velocity
  • Index(es):
    • Date
    • Thread