Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi MsgDlg: [Error] Connection problems (https://www.delphipraxis.net/15933-msgdlg-%5Berror%5D-connection-problems.html)

schlumpf1 6. Feb 2004 19:28


MsgDlg: [Error] Connection problems
 
Delphi-Quellcode:
procedure TForm1.ClientError(Sender: TObject; Socket: TCustomWinSocket;
  ErrorEvent: TErrorEvent; var ErrorCode: Integer);
begin
MessageDlg('Connection problems...' , mtError , mbOk , 0 );
end;
ich will das er bei nem clienterror die fehlermeldung 'Connection problems...' bringt.
Das ganze in nem dialog mit mtError und nem Ok Button (mbOK)
und dann soll wieder ruhe sein :D

was is dran flasch

thx 4 help :stupid:

SirThornberry 6. Feb 2004 19:43

Re: MsgDlg: [Error] Connection problems
 
mach aus "mbOK" einfach "[mbOK]"


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:28 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz