Combo DropDown Height Control is another ActiveX control that I made because I wanted to increase the height of the combo's dropdown. There is only one method - .ComboDDHeight. You can read its text file here, or download it here.
If you want to increase the height that the ComboBox drops down:
The code for this is simple:
'Me' is the name of the form that the ComboBox is on, 'Combo1' is the name of the ComboBox and '400' the the height in pixels of the drop down area. If you want to use method with a ComboBox in a Frame or other container, you will have to do something different:
The Frame or PictureBox that contains the ComboBox needs to be used in place of the form (Me) with the .Container property. After that, you will need to set the position of the ComboBox again (for reasons unknown to me) including the .Top, .Left and .Width property. Alternatively, you could just place the ComboBox over the frame instead of inside it, which would probably be easier.
blog comments powered by Disqus
Martin Allen 1999 - 2011. Last updated Wednesday 10 August 2011 07:25:10 PM +0100.