in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

C1.ComboBox Not changing font size

Last post 08-20-2007 4:12 PM by C1_GregL. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-17-2007 5:14 AM

    C1.ComboBox Not changing font size

    I saw an earlier post that said to change the drawmode to OwnereDraw and the combobox edit and dropdown would resize just as the textboxes do. I changed the setting but I'm not seeing any difference. The font size and editor height are not resized the same way as a textbox. Thank you.

    This earlier post also asks the same question:

    We are having problems with resizing the c1combo dropdown combobox. We are using c1sizerlight which will resize the text and c1combo. It also resizes the font size for the dropdown portion of the combobox, but it will not resize the height of the column heading or columns themselves to fit the new font size. It works find with the normal combobox, but not c1combo.

    This is also true when using c1truedbgrid. It will resize the fonts used for c1truedbgrid, but won't resize the height of the rows to accomodate the new font size.
  • 08-20-2007 4:12 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 431

    Re: C1.ComboBox Not changing font size

    If you use SizerLight it will adjust the height and font of the ComboBox without any code (don't have to set DrawMode).

    I don't think resizing the height/font of a ComboBox was intended for C1Sizer. This control is used more often for forms that keep buttons and text boxes uniform.

    But the documentation does say that the height of a ComboBox should expand if DrawMode = OwnerDraw* but I cannot get it to work either. It's either a bug or not intended to function.

    If you'd like, please submit this as a bug here http://www.componentone.com/Support/SubmitIncident.aspx and post your incident ID in this thread.

    Thank you, Greg L
  • 08-21-2007 5:14 AM In reply to

    Re: C1.ComboBox Not changing font size

    Thanks for getting back with me on this. I will submit this as a bug since our customers do not care for the way the font size is smaller in the comboboxes than the input boxes.
Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.