zoom a image in a form

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

I have created a tab control on my form and have a image on one of the pages.
I would like to zoom in and out of this image when this page is open. Any
suggestions on how?
 
I have used the double-click event on the image (see below) but I suppose
you could put the code
in the tabcontrol..... but try this first:

Private Sub Image1_DblClick(Cancel As Integer)
If Me.Image1.SizeMode = acOLESizeClip Then
Me.Image1.SizeMode = acOLESizeZoom
Else
Me.Image1.SizeMode = acOLESizeClip
End If
End Sub

Damon
 
Thank you the zoom works great, but now I need the ability to move around the
enlarged image once I have zoomed in.
 
I don't know of a way to do that directly from Access, but here is a source
for a
free magnifier, that you can call using the shell command in Access. The
mouse wheel zooms in and out.
Very nice software, and FREE!
http://magnifier.sourceforge.net/

Damon
 
Back
Top