Hello!
In my main form OnShow I execute a long query, so I want to show a dialog with a progress bar or maybe only a label "Loading...." while executing the query.
So I put in my FormShow procedure something like this:
FormProgress.Show;
MyQuery;
FormProgress.Hide;
And it shows an empty form. No label, nothing, just white background. FormProgress is created in application initialization. If I don't hide the form, it shows the 'Loading...' label when query is completed and main form is showed. Why?