Quote
> I believe I had the exact same problem - I solved it by a code snippet
found
> on www.delphicenter.ch that changes the main form at runtime:
Thanks, I'll look at that. Since my last message, I made a small test
program, main form, one child form, one button on the main form to call the
other form. Nothing else (not even the application.minimize stuff).
Results for it are strange (the same as before) -
if it is called from the IDE or from explorer in the folder where it is
created - it minimizes like I want it to (even w/o app.minimize).
If I make a shortcut to it in that folder and use it, it doesn't minimize
the main form. Similarly, if I copy the EXE to another folder, it doesn't
minimize the main form - called either in explorer or with a shortcut.
If I search for the EXE and run it from there - it DOES minimize the main
form, from EITHER folder.
Recap, for both the real app and the test:
EXE in
orig folder different folder
IDE Yes n/a
explorer yes no
desktop shortcut no no
search yes yes
yes = minimize child form minimizes the main form.
This is on my computer. My client calls it from a desktop shortcut on his
Win2000, and it doesn't work for him.
Delphi 6 pro, update pack 2. Windows WP home, all updates.
Does anyone know why it is like this?