Re: Disabling an application during a file save?



Jamie wrote:
Rob Kennedy wrote:
DisableTaskWindows might be a way of disabling all the forms in one call. It's designed to disable everything in order to make one particular window modal, so it might not work quite right when there isn't really any modal form. It's worth a try, though.

hmm, whats wrong with the EnableWindow(WindowHandle, false) ?
that will ignore all input activities.

Here's what Steve had to say about that in his first message:

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?

Disabling the form and disabling the window handle are essentially the same.

--
Rob
.


Quantcast