• 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
NSTokenField & Space Bar selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTokenField & Space Bar selection


  • Subject: NSTokenField & Space Bar selection
  • From: mabo68 <email@hidden>
  • Date: Fri, 16 Feb 2007 11:54:32 +0100

Hi !

I use a NSTokenField. This TokenField has an NSArray of NSString for the completion.
The strings in the completion array are formed as follow :


"My name"
"My job"
"My computer"

You see, the string have a " " (SPACE) between both words.

Wenn I write a text like "My" in the token field, I get from the completion
a list containing this 3 entries. That's correct.


If press the space key, because I want to write further, the first entry from the completion list will
be used and writed in the token field. But I will maybe have the second entry only by writing in the
token field.


Questions:

A) Why the SPACE bar will take the value from the completion list in my token field ?
B) Is it possible to change it, that the SPACE bar will be used as character intead of selection ?
C) How do I that ?



On the web, I have found only one entry from "philippe" with the same problem :
http://lists.apple.com/archives/student-dev/2006/Aug/msg00073.html
but Philippe as never get an answer.


Thank you for your help
Regards
Marc
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • NSTokenField & Space Bar selection
      • From: mabo68 <email@hidden>
  • Prev by Date: Re: Making a manually polled app loop in games?
  • Next by Date: Re: PDFMarkupAnnotations not showing when drawing PDFPage
  • Previous by thread: Re: How to connect NSPopupButtons, Bindings, and Core Data Entities?
  • Next by thread: NSTokenField & Space Bar selection
  • Index(es):
    • Date
    • Thread