NSTokenField & Space Bar selection
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