swestbrook60
asked on
Screen location control
I am currently saving the location and size of each form, unless maximized, in a Delphi application in the registry so they each open in the same location and size as the user closed them. What would happen if the user had the forms open on a secondary monitor and then disconnected that monitor? Would they open outside the viewable are of the primary monitor or would they automatically be moved to the primary monitor?
Should I evaluate the form's position relative to the screen.desktop size values and relocate the form accordingly if the for'm position shows it will be outside the current desktop size? is there a better way to handle this?
Should I evaluate the form's position relative to the screen.desktop size values and relocate the form accordingly if the for'm position shows it will be outside the current desktop size? is there a better way to handle this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.