The Command for this is acCmdZoomBox. The problems with using this in conjunction with the MouseMove event is that it
- Zooms the Control that currently has Focus, not the Control whose MouseMove event is executing the Command
- Zooms that Control on the Record that has Focus (is the Current Record).
The best way to do this is to use the Control's Double-Click event to expand it. That way you know you're getting the data for that Control on that Record:
Code:
Private Sub TargetTextbox_DblClick(Cancel As Integer)
DoCmd.RunCommand acCmdZoomBox
End Sub
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007