View Full Version : Quick Question regarding fields...


woodman650
01-22-2005, 02:06 PM
Hey all. I've got a field that I'd like to put a paragraph or so of text into and I'd like to just click on that field and have an arrow open up a box with all the text for easy viewing... (i hope this makes sense). Anyone know how to do this? (I'm sure it's easy if it is doable) thanks!

Pat Hartman
01-22-2005, 02:16 PM
If you put your cursor in a field and press shift-F2, a zoom box opens up.

RV
01-22-2005, 04:08 PM
If it's a field (control) in a form you're talking 'bout, put this code in for instance the double click event of your field:

DoCmd.RunCommand acCmdZoomBox

RV

woodman650
01-22-2005, 05:04 PM
If you put your cursor in a field and press shift-F2, a zoom box opens up.
is there an easier way to do this? I just want to be able to mouse-over and have something appear.... any way to do this? thanks!

Pat Hartman
01-23-2005, 11:53 AM
Putting the code in the MouseMove event will be annoying since it takes manual action to close the zoom box. Use the double-click event to open the zoom box with code:

DoCmd.RunCommand acCmdZoomBox

You can try putting the field value in the control tip text as the mouse moves over the control. There is some lag to this so be patient as you hover over the control.
Private Sub txtAddr_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.txtAddr.ControlTipText = Me.txtAddr
End Sub