PDA

View Full Version : Status Dialog text disappears


Lizard
09-18-2006, 06:50 PM
I have the following code in my Setup Factory 7 project:

StatusDlg.Show(MB_ICONINFORMATION, false);
StatusDlg.SetMessage("\r\n "..message);
StatusDlg.SetTitle(title);
StatusDlg.ShowProgressMeter(false);

and later on, after some other processing:

StatusDlg.Hide();

While the status dialog is in the foreground, everything is fine; however, if I open another window (from any other application) that covers the dialog, when I close that window, the text and the information icon is gone from my status dialog. It's blank, but with the title text intact.

Does anyone know what might be causing this, and how I might prevent it?

Adam
09-19-2006, 09:46 AM
What type of actions are you firing while the status dialog is visible?

Adam Kapilik

Lizard
09-19-2006, 12:10 PM
No SF7 actions - I display the status dialog immediately before I invoke a DLL method which runs database scripts, then hide when the DLL returns control to Setup Factory.

Adam
09-19-2006, 01:15 PM
If you are running Setup Factory actions (File.Copy() for example) then it works fine. So it looks like it is not updating itself when running external commands (dlls ect).

I have added for consideration as a potential bug.

REF: 13748

Adam Kapilik

Lizard
09-20-2006, 12:15 PM
Thank you!