Issue with pop up form and using 2 computer screens

mkdrep

Registered User.
Local time
Today, 03:26
Joined
Feb 6, 2014
Messages
181
I have been using a second, larger monitor, hooked up to my laptop so I can use the "extend" function of my laptop and work on multiple programs on two different screens. Until today, I never had a problem with this setup and Access. I would hit a button I had created and the resulting screen would stay in the same window as the Access program.

When I open the program on my laptop computer screen, it opens to a main form with a sub form (see mainform.jpg). When I click on a number below "Click 4 Product Frm" box in the subform (for example "179"), the Products form pops up (product_pop-up.jpg), on the SAME laptop screen the main form was shown on.
The problem arises when I click on the Accessories button in the right middle portion of the Products form. The resultant Accessories form (access-pop-up.jpg). This screen always pops open on the second (or extended) screen. I can drag the form back over to the laptop screen, but if I click on the Accessories tab again, it still opens on the extended screen. To make matters worse, if I am not connected to a 2nd screen, the Accessories form can not be seen on the laptop as it is trying to open on the extended screen that is not there.

Any ideas why this might be happening? Thanks in advance.
 

Attachments

  • mainform.jpg
    mainform.jpg
    76.5 KB · Views: 143
  • product-pop-up.jpg
    product-pop-up.jpg
    66.6 KB · Views: 84
  • access-pop-up.jpg
    access-pop-up.jpg
    66.1 KB · Views: 80
Do you have the form autocentre property set to yes? That should solve the problem for when you only have the one screen

Another option is to have some code in the popup form open event to set the top and left position of the popup form somewhere relative to the top and left position of the calling form - google 'vba form positioning'

Found this link which looks like what you require

http://www.experts-exchange.com/Dat...in-MS-Access-window-on-multiple-monitors.html
 
That took care of the issue! AutoCentering was set at "No". Thanks very much!
:)
 

Users who are viewing this thread

Back
Top Bottom