Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Warum kann ich keine Form im Execute-Rutine des TCP Createn (https://www.delphipraxis.net/14780-warum-kann-ich-keine-form-im-execute-rutine-des-tcp-createn.html)

jonny 29. Jan 2004 02:07

Re: Warum kann ich keine Form im Execute-Rutine des TCP Crea
 
Also habe jetzt folgendes Problem:

Delphi-Quellcode:
type
   TSyncGetFileFrom = Class
   private
     fUser,
     fIP,
     fDMIN,
     fDescription,
     fFileSize: String;
     fFiles: TStringList;
   protected
     {}
   public
     Constructor Create; override;
     Destructor Destroy; override;

     property User : String read fUser write fUser;
     property IP  : String read fIP  write fIP;
     property DMin : String read fDMin write fDMin;
     property Description : String read fDescription write fDescription;
     property FileSize : String read fFileSize write fFileSize;
     property Files : TStringList read fFiles write fFiles;

     // call showForm with syncronize from a Thread
     procedure showForm;
   end;
In der Zeile "Constructor Create; override;" meckert der Compiler mit der Meldung "Eine Statische Methode kann nicht überschrieben werden"

Woran kann das liegen?

DataCool 29. Jan 2004 10:02

Re: Warum kann ich keine Form im Execute-Rutine des TCP Crea
 
sorry mein fehler, lass das override weg !

Gruß Data

jonny 29. Jan 2004 13:21

Re: Warum kann ich keine Form im Execute-Rutine des TCP Crea
 
@DataCool: Ein ganz fettes Danke! Es funktioniert endlich.

DataCool 29. Jan 2004 13:26

Re: Warum kann ich keine Form im Execute-Rutine des TCP Crea
 
@jonny:

Kein Thema ! Dafür ist das Forum ja da :dp:


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:49 Uhr.
Seite 2 von 2     12   

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