Text box size

  • Thread starter Thread starter John
  • Start date Start date
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
 
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
 
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
 
Back
Top