When a unit finishes its work, I want the form to disappear and I want to 
display a message to let the user know how things went.  So I've tried the 
obvious:

Backup.Hide;
if NoErrors
  then ShowMessage ('Backup Completed OK')
  else ShowMessage ('*** BACKUP FAILED ***');

My problem is that this works as expected when run from the Delphi 7 
development environment ... but when run from the executable file, the form 
does not disappear, and the ShowMessage box is displayed BEHIND the Backup form 
(which is supposed to be hidden).  And, yes, the focus has moved to the message 
box (which confuses everyone, because it can't be seen).  

So ... what magic invocation do I need to make the Hide actually take effect?

Thanks,
Rainer
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to