FMX Delphi 10.2 Show form or please wait panel while task executed

  

I have several task on button click.

eg.

Show form or please wait panel….
Load data from database (duration 5-10 seconds)
Clear all TEdit field
Hide form or please wait panel….
ShowMessage(‘completed’)

Is it possible After click on button show please wait panel or form and after all completed hide that panel.

How to Synchronize Perform Tasks One by one.

Or any other simple solution.

Comments are closed.