Is it possible to center the contents of a picture box within the picture box? Or should I just switch to a label or something? <br>
<br>
Thanks,<br>
Aleena
Below is a label inside a picture box that will centre<br>
after execution of the two lines of code below:<br>
<br>
Label1.Top = Picture1.Height / 2 - Label1.Height / 2<br>
Label1.Left = Picture1.Width / 2 - Label1.Width / 2
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.