StrataFrame Forum

Dropdownlist

http://forum.strataframe.net/Topic31689.aspx

By Ian Johnston - 1/7/2013

I am having trouble using tab to exit a dropdownlist. If you type in a user name it will go to the correct one on the list but if the user presses tab the selection reverts to the first item using the first letter. The list is created from a BO, modifier is set to internal, AutocompleteMode is Append, AutocompleteSource is ListItems. Is it not posible to use the tab to exit the list?
By StrataFrame Team - 1/7/2013

I'm not sure what would be causing this.  Could you put together a sample and zip it up and attach it to the forum so we can see what might be causing it?

Also, you might try adding a handler to the TextChanged event on the drop down list.  Put a break point in there and look at the call stack, making sure to show all code (uncheck the "Enable Just My Code" in the Debug options).  That will show you what .NET is trying to do and might clue you in as to why it's swapping out your value.  My first guess would be that the position is changing on the CurrencyManager on the list source and resetting your value.  
By Ivan George Borges - 1/7/2013

Hi Ian.

If you first press "Enter" to confirm the current chosen item on the list, will the "Tab" work afterwards?
By Ian Johnston - 1/7/2013

Yes enter will lock in the selection.