Disabling an application during a file save?



Bit of a newbie.

I have an application with several forms, each with a number of
buttons on them.

Some of the buttons call a procedure which writes some data to disk.
This process occasionally takes a few seconds. Is there a way to
prevent any other buttons/actions being acting on while it's saving?

I believe you can use form1.enabled:=false to prevent buttons on that
form being pressed, but can you do that for the entire application all
in one go?

.


Quantcast