Zoom on text box control in form when double click

  • Thread starter Thread starter Spidey3721
  • Start date Start date
S

Spidey3721

I am trying to get a textbox to ZOOM when a user double clicks it (I can get
it to zoom by using the SHIFT+F2 shortcut). It's a memo type textbox and the
content sometimes spills beoyond the size of the control itself.
 
Spidey3721 said:
I am trying to get a textbox to ZOOM when a user double clicks it (I can get
it to zoom by using the SHIFT+F2 shortcut). It's a memo type textbox and the
content sometimes spills beoyond the size of the control itself.

In the Double-Click event for the TextBox run code...

DoCmd.RunCommand acCmdZoomBox
 
Private Sub TextBoxName_DblClick(Cancel As Integer)
DoCmd.RunCommand acCmdZoomBox
End Sub
 
Back
Top