making fields larger on a form

C

Carolyn

I would like to have a way to make certain fields on a
form larger to view the entire text in the field. I
don't always want the field to be enlarged, just at the
time the user wants to read all of the information. The
help feature in Access says you can use shift+F2 to zoom
on the field, which works fine. However, is there a way
to make a command button or something that just requires
a click to make it happen (so users don't have to
remember shift+F2)? Thanks.
 
R

Rick Brandt

It's easier to use the Double-click event of the control so it will already have
focus. Then just use code. . .

DoCmd.RunCommand acCmdZoomBox
 
C

Carolyn

Thanks that's elegant and simple.
-----Original Message-----
Here's one solution: Put code in the DoubleClick event of that textbox that
will open another form in Dialog mode that contains nothing but a huge
textbox and a Done button.

There are many other ways you can solve your problem ...

hth
--
-Larry-
--




.
 
C

Carolyn

Thank you!!!! This worked like a charm. I'd never
entered my own code (even if it was just pasting it in)
so it was very cool to see it work. Thanks again!
 

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

Top