0

Hi,
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.

Thanks
Hanky

4
Contributors
4
Replies
6
Views
9 Years
Discussion Span
Last Post by Awon02
0

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.

0

Hi,

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)

Regards
Veena

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.