Repost:Positioning forms in dual monitor environment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working on developing some Access 2003 applications for use in a
dual monitor environment and am trying to figure out how to "position" the
forms to a particular screen.

If the user moves the form from one screen to another, I would like to be
able to store that data, so that the next time the user opens the form, it
will open on the same screen as the last time it was used.

Additionally, I am using an inputbox to capture some information, and it
accepts X and Y coordinates. I would like to be able to position this
inputbox on the same screen as the form that calls it. If I don't enter
these values, I never seem to know where the input box will appear. I've
found that If I make the X value large enough, it will force the box to
appear on my right most screen.

Thanks for your help.
 
Dale Fye said:
I am working on developing some Access 2003 applications for use in a
dual monitor environment and am trying to figure out how to "position" the
forms to a particular screen.

If the user moves the form from one screen to another, I would like to be
able to store that data, so that the next time the user opens the form, it
will open on the same screen as the last time it was used.

Are these Popup forms? If not then they can only be opened inside the Access
main window which you would have to stretch over both screens (ugh).

If they ARE popup forms then any forms that "remember" to open on the
non-primary monitor will also popup off-screen for any user that doesn't have
dual monitors or who has the primary monitor on the other side from the person
who originally set the position.

All in all probably a bad idea.
Additionally, I am using an inputbox to capture some information, and it
accepts X and Y coordinates. I would like to be able to position this
inputbox on the same screen as the form that calls it. If I don't enter
these values, I never seem to know where the input box will appear. I've
found that If I make the X value large enough, it will force the box to
appear on my right most screen.

Pretty sure dialog boxes will always appear on the primary monitor. More than
likely a Windows thing rather than an Access thing.
 
Rick Brandt said:
Are these Popup forms? If not then they can only be opened inside the Access
main window which you would have to stretch over both screens (ugh).

If they ARE popup forms then any forms that "remember" to open on the
non-primary monitor will also popup off-screen for any user that doesn't have
dual monitors or who has the primary monitor on the other side from the person
who originally set the position.

All in all probably a bad idea.


Pretty sure dialog boxes will always appear on the primary monitor. More than
likely a Windows thing rather than an Access thing.

--

Afraid not. Message boxes on my system show up in the 'middle' i.e. spread
over the two monitors. I think you'd need to avoid standard windows dialogs
and build you own to replace them.
 
Rick,

I am hiding the Access window to make it more user friendly and limit users
direct access to the data .

This particular application is designed for individual users, so my intent
would be to store parameters like window position in a table in the
application itself. The program permits the user to have several forms open
at the same time, and allowing them to position these forms of both screens
provides added functionality. I just cannot figure out how to determine what
monitor the form is displayed on, or how to place a form in a particular
location on the screen.
 
Rob said:
Afraid not. Message boxes on my system show up in the 'middle' i.e.
spread over the two monitors. I think you'd need to avoid standard
windows dialogs and build you own to replace them.

Must be another "feature" of the newer versions :-) In Access 97 my dialog
prompts do not straddle the two monitors, but I have seen that behavior on
others users machines so clearly some programs do have that problem.
 
Afraid not. Message boxes on my system show up in the 'middle' i.e.

I think that is a system setting. Unless you are using
Windows 3/Windows 95? Go to the screen settings
where you set the relationship of the 2 screens.

(david)
 
I think that is a system setting. Unless you are using
Windows 3/Windows 95? Go to the screen settings
where you set the relationship of the 2 screens.

(david)

I do seem to remember seeing something like that on an old system, but
nothing on my current (Win2K) setup.
 
Back
Top