On Dec 17, 2005, at 07:20 PM, Laurence Harris wrote:
- Is there any way to restrict the text allowed in the box to those
strings
I supplied when the combo box was created? I don't want to allow
random text
in the box, only the predefined values. Basically I'm looking to
implement a
popup with type selection.
It's not the same user experience, but I think what you are after is
a popup, not a combo box. Presumably the user is using keyboard
navigation when they want to auto-complete. If they have full
navigation turned on, then they can hit the space bar to open the
menu, then type to auto-complete.
Barring that, you can install a kEventClassTextField/
kEventTextAccepted handler on the control and auto-complete with text
that is in the box. Then you can replace it with the closest match. I
don't know all the details of this approach so I can't really help
with that. I think the use of a Popup would generally be better however.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden