Jim Cassata wrote:
> Ian,
>
> you won't get the type it in functionality from the combobox. you could
> however, mix the two. place the textinput from Autocomplete over the
> combobox, and expose the dropdown arrow th the right, or use a custom
> button to switch between the two controls as the user sees fit. click
> on the textinput, get Autocomplete functionality. click the drop arrow,
> get combobox functionality.
Actually I did.  I dug into the code and made some wild eyed, lucky 
guesses.  The component is based on a combo box just with the drop down 
arrow set to a width of zero to make it look like a text control.  
Restoring the drop arrow provide the functionality I desired.  It also 
has the ability to accept value not on the list  The only bit about this 
is that the user needs to use the 'up' arrow on the keyboard to accept a 
new value that is a substring of an existing value.  If the user presses 
enter, the first element that matches the typed text is selected if one 
exists.  This is a bit unintuitive to me, I would prefer the enter key 
to work as the up key, but I'm not confident enough with my 
understanding of the logic to play with this functionality yet.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4440
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to