You could make it a bit simpler. Use the same combobox, just move it up when you 'open' it, and down when you 'close' it.
>What an ugly way to do this for a very simple requirement.
>There could a property nDirection in combo and we can set it to our required direction up/down or left/right.
>Anyway i will try doing this.
>
>Thank you for your help.
>
>
>
>>Hi,
>>
>>>Combining ComboBox with ListBox. Am I on right direction? Please guide :).
>>
>>It really depends on your needs. But in the simplest case, you combine a textbox, a button with an arrow and a listbox. The listbox is invisible until the user clicks on the button. In the LostFocus event of the list box, you could hide it. Same when the user selected a value.
Edward Pikman
Independent Consultant