I'm going to take a guess that someone put in some code to center the dialog box and did so based on the width of the screen. Some of borland's own installers calculate the center of the desktop incorrectly... you must be careful when doing this.
In windows 98/Me All monitors would get positive screen coordinates, but this is not the case with NT-based systems (XP/2000/2003/Vista). Sometimes your screens can have negative screen coordinates and this can cause problems if you do not take this into account when searching for the screen center. if you're running two screens at at 1024x768 resolutions and the secondary is tot he left of the primary, the desktop center is at 0, not at 1024 as it would be in the secondary monitor were on the right. This may or may not solve your problem... but food for thought. Jason ----- Original Message ----- From: "John Dammeyer" <[EMAIL PROTECTED]> To: "'Borland's Delphi Discussion List'" <[email protected]> Sent: Thursday, April 06, 2006 2:11 AM Subject: Dual Screens > Hi all, > > I have the most peculiar problem. A simple application runs on a system > with dual screens. Add a bit more code and a dialog box and the app runs > on > every PC I can find except for the one with dual screens. > > Compile environment is Delphi 5.0. > > Anyone run into this sort of thing. I've tried changing the order that > the > various forms are initialized. No luck. > > John Dammeyer > > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

