Text box size

J

John

Hi

I am using Tahoma 8 size for my text boxes which is changed to Tahoma,
8.25pt by the system. The height of my text boxes is 21 with this font size.
Is there a way to reduce the height to 20 without much effecting the font
size?

Thanks

Regards
 
R

Randy

I'm surprised. I have lots of textboxes with this font size that have
a height of 20. Is your font Microsoft Sans Serif, Regular? Can you
just change the size properties to a height of 20? If you are
looking for code it is:

mytb.Size = New System.Drawing.Size(100, 20)

HTH,
Randy
 
J

John

Hi

Setting the font to Microsoft Sans Serif, Regular does change the height to
20 but I am using Tahoma 8 which becomes Tohama 8.25 when saved and keeps
the text box height at 21. I have manually tried to change the height of
control to 20 it goes back to 21.

Thanks

Regards
 

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

Similar Threads


Top