Zoom Box window handling

G

Guest

When I run this command I get a window with Ok and Cancel buttons

DoCmd.RunCommand acCmdZoomBox

How do I tell which button was pressed?
 
S

Stefan Hoffmann

hi,
When I run this command I get a window with Ok and Cancel buttons
DoCmd.RunCommand acCmdZoomBox
How do I tell which button was pressed?
This information is useless, but you can determine the change by
tracking the values of your controls.

E.g.

Dim OldValue As Variant

OldValue = Screen.ActiveControl.Value
DoCmd.RunCommand acCmdZoomBox
If OldValue <> Screen.ActiveControl.Value Then
'Changed...
End If


mfG
--> stefan <--
 

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

Similar Threads

Text Box Zoom Question 1
Very slow Zoom Box operation. 2
zoom box 1
zoom command 1
Zoom box end of text 1
DoubleClick event 3
Zoom box 3
Zoom Box 1

Top