problem with winXP

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SPearce
Newbie
Newbie
Posts: 5
Joined: Thu Apr 12, 2012 12:00 am

problem with winXP

Post by SPearce » Mon Apr 16, 2012 2:18 am

Quick question:

Just purchased TeeChart VCL for Delphi 7. I'm running windows 7 64 bit. TeeChart works fine in this environment. I created a small app and loaded it onto another computer (Acer notebook) running winXP SP3. When I run the app, it works OK but winXP initially presents the window off the extreme right of the display. I can see it on the taskbar. I can drag it to the center by grabbing the left edge of the window. Then the app works fine. Also had the same problem on another winXP desktop machine. The app works fine on another win7 desktop machine. I suspect the problem is the difference in screen resolution between the two computers. An ordinary Delphi 7 app that does not include a TeeChart chart works fine on the winXP machines.

Is there a way to get the app to load into the center of the winXP display? Thanks for any help.

Steve Pearce

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: problem with winXP

Post by Yeray » Mon Apr 16, 2012 2:06 pm

Hi Steve,

You can try forcing the form to be centred with this:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Self.Position:=poDesktopCenter;
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

SPearce
Newbie
Newbie
Posts: 5
Joined: Thu Apr 12, 2012 12:00 am

Re: problem with winXP

Post by SPearce » Mon Apr 16, 2012 11:59 pm

Yeray:

It worked - thank you very much!

Steve Pearce

Post Reply