Drop Down List / Drop Up List?

ross_may

Member
Joined
Nov 20, 2004
Messages
6
Programming Experience
1-3
Hi all,

Does anyone know if it is possible to make a drop down list control (when clicked) list its contents above the item, rather than below? Effectively, I need a drop up list rather than a drop down list...

Cheers,
Ross
 
Hi Ross,

I think you have to create a custom control for this. Place a textbox and a button with a dropdown icon on a user control so that it looks like a combobox. If the button is clicked, display a listbox above the textbox. You have to resize the control depending on the size of the listbox and locate it in the way, that the textbox at the bottom of the control will remain on the same place. Selecting a listbox item will "close" the "drop-up" list (make the listbox invisible) and set the text of the textbox according to the selected listbox item.

Hope this will help you

Markus
 
Back
Top