Einzelnen Beitrag anzeigen

Bjoerk

Registriert seit: 28. Feb 2011
Ort: Mannheim
1.384 Beiträge
 
Delphi 10.4 Sydney
 
#1

VirtualTrees - Wo stellt man denn die Delphiversion ein?

  Alt 9. Okt 2016, 13:33
Wo stellt man denn beim VST die Delphiversion ein?

[dcc32 Fehler] uDirectoryTreeView.pas(72): E2010 Inkompatible Typen: 'string' und 'WideString' // ***
Delphi-Quellcode:
constructor TDirectoryTreeView.Create(AOwner: TComponent);
begin
  inherited Create(AOwner);

  FVST := TVirtualStringTree.Create(Self);
  FVST.Parent := Self;
  FVST.Top := 0;
  FVST.Left := 0;
  FVST.Align := alClient;
  FVST.AlignWithMargins := true;
  FVST.Margins.Top := 9;
  FVST.Margins.Left := 9;
  FVST.Margins.Bottom := 9;
  FVST.Margins.Right := 9;
  FVST.StateImages := ImageList;
  FVST.OnChange := VSTChange;
  FVST.OnExpanding := VSTExpanding;
  FVST.OnGetText := VSTGetText; // ****
  FVST.OnGetImageIndex := VSTGetImageIndex;
  FVST.OnKeyPress := VSTKeyPress;

  FDirectoryTree := TVirtualDirectoryTree.Create(FVST);
end;
  Mit Zitat antworten Zitat