Zoom on text box control in form when double click

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.
 
R

Rick Brandt

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
 
K

Ken Snell

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