Where does it store the positions? Registry or .ini file? Have a look where the 
forms left and top are... Set them to 0,0.

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On 
Behalf Of Charlie Kerscher
Sent: Sunday, 15 May 2011 12:38 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Delphi 2007 & Vista

 

Thanks David, the original application is Accounting for Delphi. It does, as 
best as I can determine, "remember" last screen size/position. 

I can not start the other programs (modules) although the task manager says 
they are running.

The curious thing, to me, is that when I start the 'real' main menu, the splash 
screen appears, the user id/pw screen appears and the "main" menu screen 
appears. I even moved the main menu to a different screen position and when I 
restarted the app the main menu appeared where I had placed it. But when I 
select another program/module from that main menu that program does show.

So I'm still at a lost as to what to do.

Charlie



--- On Sat, 5/14/11, David O'Brien <d...@iccs.co.nz> wrote:


From: David O'Brien <d...@iccs.co.nz>
Subject: Re: [DUG] Delphi 2007 & Vista
To: "NZ Borland Developers Group - Delphi List" <delphi@delphi.org.nz>
Date: Saturday, May 14, 2011, 8:19 PM

Do you save and restore the last positions of the windows?

I’ve fallen into the trap of having left or top positions outside the screen on 
start up.

 

Also, what code are you using to start the other programs? Can you start them 
manually?

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On 
Behalf Of Charlie Kerscher
Sent: Sunday, 15 May 2011 12:12 p.m.
To: delphi@delphi.org.nz
Subject: [DUG] Delphi 2007 & Vista

 

Hi, Until Wednesday I was developing using an XP laptop with Delphi 2007 and 
DBase files. My computer died and I borrowed my son's laptop which has Vista. I 
installed Delphi 2007 with the 3rd party controls, copied my program (.pas 
files) and recompiled my program. Actually I did this with two programs. The 
second one runs both within the IDE and outside the IDE. The first program will 
load the main form (outside of the IDE) but when I click a button to open 
another form which is data dependent the form doesn't show. Actually the 
application has exe's that are called in the onclick event of the buttons; for 
example order entry, inventory, customer add/edit, etc. I click the order entry 
button and task manager shows the exe is running; however the form doesn't show 
on the laptop.

I sincerely appreciate any suggestions.

Charlie 

 


-----Inline Attachment Follows-----

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to