Thema: Delphi Page control

Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.166 Beiträge
 
Delphi 12 Athens
 
#4

Re: Page control

  Alt 29. Okt 2003, 21:47
Ist doch nicht so gemacht:
Delphi-Quellcode:
type TForm1 = class(TForm)
  private
    { Private-Deklarationen }
    Const FarbeX: TColor = 44444;
  public
    { Public-Deklarationen }
  end;
Wenn ja, dann ohne CONST:
Delphi-Quellcode:
type TForm1 = class(TForm)
  private
    { Private-Deklarationen }
    FarbeX: TColor = 44444;
  public
    { Public-Deklarationen }
  end;
Deins funktioniert zwar, richtiger währe es aber so.
Const FarbeX: TColor = 44444;
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat