I need some help setting the maximum size on a picture box.
I thought the syntax for setting size was picturebox.MaximumSize = (Width,Height) but doesnt seem to work. Did syntax change from VB6?
Thanks in advance
I need some help setting the maximum size on a picture box.
I thought the syntax for setting size was picturebox.MaximumSize = (Width,Height) but doesnt seem to work. Did syntax change from VB6?
Thanks in advance
The syntax has changed. You can set it by
PictureBox1.MaximumSize = New System.Drawing.Size(200, 200)
Thanks Jim
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.