How do I change the hieght of a combo box or datepicker without changint the font/size

Posted on 2006-04-18
Last Modified: 2013-12-03
In I cannot change the hieght of a combo box or datepicker without changing the font/size.  Is there a workaround ?
Question by:bczingo
    LVL 6

    Expert Comment

    A combo box by definition is only one "item" high. It's designed to save you screen real estate. If you click on the arrow, its height will increase to accommodate the MaxDropDownItems you indicate in the Properties. If you change the DropDownStyle to simple, then you adjust the height. If you are talking about changing the height of the one item that appears by default, then you are correct: its height is tied to the font size. Another example of Microsoft trying to do our thinking.

    The DateTimePicker is also tied to the font size.

    Of course, all of this can be subverted by deriving your own combo box or date time thingy from the ones Microsoft provides. There is lots of info here and elsewhere on how to do that.

    LVL 3

    Author Comment

    Where might I find this info on deriving my own combo box?
    LVL 6

    Accepted Solution

    Do a search here. Or try Lots of info.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now