Locating InputBox using TWIPS

J

JBA

I'm writing some VB code in Microsoft Access 2007. I would like to center an
InputBox on the screen in a database that will be displayed on various
monitors, from 15 inch to 21 inch. If I set the xpos and ypos parameters so
the box appears in the center on one monitor, will it also be centered on
other monitors?

Thanks.

JBA
 
T

Tom van Stiphout

On Fri, 25 Apr 2008 08:35:01 -0700, JBA

Create your own form to fake an InputBox, and set the "Auto Center"
property to True. That way Access will take care of it.

If you insist on using InputBox, you'll need to know a bit about
Windows API calls, and if you did you probably would not have asked
the question...

-Tom.
 

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