StrataFrame Forum

TopMostItem and ComboBoxEdit....

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

By StarkMike - 10/3/2006

I am using the inherited control ComboboxEdit (which is the DevExpress wrapped control), when I set the TopMostItem for this control it doesnt automatically set to it.



Any thoughts?
By StrataFrame Team - 10/4/2006

On a ComboBoxEdit control, you will need to handle the Load event of the form and set the SelectedIndex of the combo box to 0.  This is just a result of the functionality of the DevExpress ComboBoxEdit... the control does not automatically select the top item and leaves it's selected index at -1 when the list is populated.