How to Resize Image with form resize event

Reply

Join Date: Jun 2007
Posts: 7
Reputation: hanky is an unknown quantity at this point 
Solved Threads: 0
hanky hanky is offline Offline
Newbie Poster

How to Resize Image with form resize event

 
0
  #1
Aug 23rd, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,092
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 125
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: How to Resize Image with form resize event

 
0
  #2
Aug 23rd, 2007
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.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 848
Reputation: QVeen72 is on a distinguished road 
Solved Threads: 120
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Practically a Posting Shark

Re: How to Resize Image with form resize event

 
0
  #3
Aug 23rd, 2007
Hi,

use this code in Form_resize event:

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Image1.Left =0
  2. Image1.Top =0
  3. Image1.Width = (Me.Width * 0.9)
  4. Image1.Height = (Me.Height * 0.9)

Regards
Veena
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 7
Reputation: hanky is an unknown quantity at this point 
Solved Threads: 0
hanky hanky is offline Offline
Newbie Poster

Re: How to Resize Image with form resize event

 
0
  #4
Aug 24th, 2007
thnks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC