Re: ~ Message on screen during processing ....how ???!!!~


Posted by Jean Claude Servaye on June 28, 2000 at 17:44:32:

In Reply to: ~ Message on screen during processing ....how ???!!!~ posted by indy gabrie on May 24, 2000 at 16:02:48:

When the process begin, desable all the menu commands and enable after the process is completed.

In addition you can set in the form OnCloseQuery

procedure TMyForm.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
CanClose := False;
// or CanClose := Not MyprocessRunning;
// Where MyprocessRunning is a boolean set to True when you start your process
// and set to False when the process is done.

end;