1.11M Members

How to Resize Image with form resize event

 
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

 
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

 
0
 

thnks

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article