Hello James,
Yes, I wondered that myself but Delphi help does not say just that to show more
buttons use Msgdlg.

Wonder if what James suggests is the reason - any takers?

If so I should remove all showmessage and replace with msgdlg.

Bet it only happens in WinXP tho ;-)
Al+



Thursday, January 23, 2003, 8:31:56 AM, you wrote:
JS> Not basing this on fact just theory, but maybe MessageDlg is a Modal form
JS> whereas ShowMessage isn't ?

JS> ----- Original Message -----
JS> From: Alistair George <[EMAIL PROTECTED]>
JS> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
JS> Sent: Thursday, January 23, 2003 8:11 AM
JS> Subject: [DUG]: showmessage - weird behaviour


>> Hi all.
>> On completion of a process my app is meant to showmessage. Sometimes the
>> message is obscured, the only way to view it is to Alt-Tab. It does not
JS> seem to
>> happen if I use MessageDlg. Is there a difference between the two? Or
JS> could it
>> be this stupid WinXP thing again?
>>
>> Showmessage(    MessageDlg(errstring + IntToStr(SuccessCnt) + ' file' +
JS> IsOne + ' added');
>> ^==Works intermittent
>>
>> MessageDlg(errstring + IntToStr(SuccessCnt) + ' file' + IsOne + ' added',
JS> mtInformation, [mbOK], 0);
>> ^==Seems better
>>
>> Thanks,
>> Alistair+
>>
>> --------------------------------------------------------------------------
JS> -
>>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>>                   Website: http://www.delphi.org.nz
>> To UnSub, send email to: [EMAIL PROTECTED]
>> with body of "unsubscribe delphi"
>> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

JS> ---------------------------------------------------------------------------
JS>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
JS>                   Website: http://www.delphi.org.nz
JS> To UnSub, send email to: [EMAIL PROTECTED] 
JS> with body of "unsubscribe delphi"
JS> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


-- 
Regards,
 Alistair+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to