Registriert seit: 24. Okt 2006
Ort: Seifhennersdorf / Sachsen
5.388 Beiträge
Delphi 12 Athens
|
AW: Delphi 12.1 verfügbar/veröffentlicht
5. Apr 2024, 12:26
Zitat:
Es ruiniert jetzt keine strict private oder strict protected blöcke mehr in der Klassendeklaration!
vorher:
Delphi-Quellcode:
TArticlePrices = class(TBaseObject)
strict private
{$REGION 'Fields'}
FArticlePriceList: TArticlePriceList;
FArticlePriceCustomerList: TArticlePriceCustomerList;
{$ENDREGION}
public
constructor Create;
destructor Destroy; override;
property ArticlePriceList: TArticlePriceList read FArticlePriceList write FArticlePriceList;
property ArticlePriceCustomerList: TArticlePriceCustomerList read FArticlePriceCustomerList write FArticlePriceCustomerList;
property Test: Double read FTest write FTest; // -> Ctrl+Shift+C
end;
nachher:
Delphi-Quellcode:
TArticlePrices = class(TBaseObject)
strict private
{$REGION 'Fields'}
FArticlePriceList: TArticlePriceList;
FArticlePriceCustomerList: TArticlePriceCustomerList;
private
FTest: Double;
{$ENDREGION}
public
constructor Create;
destructor Destroy; override;
property ArticlePriceList: TArticlePriceList read FArticlePriceList write FArticlePriceList;
property ArticlePriceCustomerList: TArticlePriceCustomerList read FArticlePriceCustomerList write FArticlePriceCustomerList;
property Test: Double read FTest write FTest;
end;
Geändert von haentschman ( 5. Apr 2024 um 12:32 Uhr)
|