Locating InputBox using TWIPS

  • Thread starter Thread starter JBA
  • Start date Start date
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
 
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.
 
Back
Top