I have built a form that's being displayed during a lenghty operation.
it is created and destroyed with these two functions:
procedure ShowWaitMessage(WaitMessage : string = 'Please wait...');
this function simply creates/shows a wait message.
procedure HideWaitMessage(ShowDone: Boolean = True);
This hides/destroys the wait form.
When the form is shown, the user can always press some button in the other forms of the app, bypassing the wait form.
How do i prevent the interface from being used while the waitform is shown? i want it to be done when the form is displayed, and to be done automaticly, so i dont have to set enabled := false for every component of every form manually.
is there a quick function call i can use to enable / disbale the interface for the entire application?