Einzelnen Beitrag anzeigen

norwegen60

Registriert seit: 23. Dez 2007
Ort: Schwarzwald
504 Beiträge
 
Delphi 12 Athens
 
#4

AW: Varialbe "Name" wird mit "Format source" (Ctrl-D) klein geschrieben

  Alt 30. Mär 2018, 10:28
Verhalten lässt sich schon mit sowas nachvollziehen
Delphi-Quellcode:
unit Unit6;

interface

type
  TTest = class
  private
    { Private declarations }
    FName: string;
  public
    { Public declarations }
    property Name: string read FName write FName;
  end;

var
  Test: TTest;
  Name: string;

implementation

{$R *.dfm}

end.
Nach Ctrl-D ist bei mir sowhl das Property Name als auch die Variable Name klein geschrieben
Delphi-Quellcode:
unit Unit6;

interface

type
  TTest = class
  private
    { Private declarations }
    FName: string;
  public
    { Public declarations }
    property name: string read FName write FName;
  end;

var
  Test: TTest;
  name: string;

implementation

{$R *.dfm}

end.
  Mit Zitat antworten Zitat