zoom a image in a form

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?
 
D

Damon Heron

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
 
G

Gary

Thank you the zoom works great, but now I need the ability to move around the
enlarged image once I have zoomed in.
 
D

Damon Heron

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top