Start New Discussion within our Software Development Community

Please let me know how to resize an Image with form resize event.
Also I will have to limit the size so that the image size is not larger than the scrreen width and so small so that the text in the Image is illegible.
Also, please let me know how to check if caps are on.


to resize the image control set its height =formheight-300 or any other value and the same for width also in the form resize event.


use this code in Form_resize event:

Image1.Left =0
Image1.Top =0
Image1.Width = (Me.Width * 0.9)
Image1.Height = (Me.Height * 0.9)


This article has been dead for over six months. Start a new discussion instead.