Resize control
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
i have a picturebox an a button and im trying to resize the picturebox's width with the button like this
Code: Select all
but this resizes the picturebox on the right side, how can i resize it on the left side?picBox1.width +=5
You can find me on Facebook or on Skype mihai_92b
XTechVB wrote:i have a picturebox an a button and im trying to resize the picturebox's width with the button like thisTry resize and move its posistionCode: Select allbut this resizes the picturebox on the right side, how can i resize it on the left side?picBox1.width +=5
never mind i got it.
Code: Select all
picBox.SetBounds(picBox.Location.X - 5, picBox.Location.Y, picBox.Width + 5, picBox.Height)
You can find me on Facebook or on Skype mihai_92b
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023