This is really just to visually cleanup the look of my forms abit, but there doesn't seem to be a way to Center text vertically in a textbox like you can in a label. Is that correct?
Because all of the labels are set to vert center with a line around the text box. I have a few to many (depends) TextBoxes that look like labels part of the time and it looks wrong/sticks out. If it was possible I wanted them to look the same. Not really important, just looks odd.
You could create a user control with a textbox on it (not inherit from it).. Have it vertically centered with docking to none. Last use the paint event of the usercontrol and use e.graphics to draw a rectangle ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.