Assistant.Think does not work... sometimes
Sometimes, Assistant.Think does not work!
In the following situation the message is not shown.
I even tried using Application.ProcessMessages without sucess:
How can I force an update so the message appears?
Regards
Bill
In the following situation the message is not shown.
- Code: Select all
procedure Tfrm_Main.TBXItemPrintClick(Sender: TObject);
begin
Assistant.Think('Printing...',0);
HTMLEdit.Print(HTMLEdit.ClientRect);
Sleep(1000);
Assistant.CloseBalloon;
end;
I even tried using Application.ProcessMessages without sucess:
- Code: Select all
procedure Tfrm_Main.TBXItemPrintClick(Sender: TObject);
begin
Assistant.Think('Printing...',0);
Application.ProcessMessages;
HTMLEdit.Print(HTMLEdit.ClientRect);
Sleep(1000);
Assistant.CloseBalloon;
end;
How can I force an update so the message appears?
Regards
Bill