Setting the height of the combobox in VGA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm experimenting with programming a small VGA application for the PocketPC
using C#, and all seems to be working well except the combobox. I'm have not
been able to change the height of the combobox. I tried to set the Height
property, and I have changed the font to a small one. However the size of the
box next to the arrow is still big, and it looks stupid with the small font
inside. Are there any way to fix this?

I tried to search for this, but didn't fint anything that I could use. Some
talked about using handles but I didn't understand how that works :(

Thanks for any help on this matter!
 
Try changing the Font of the parent form, this is how the text controls
appear to derive their height. If you set a large font size on your form the
textboxes and comboboxes will increase in height even though their font
doesn't increase (unless you set it directly).

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top