AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

VirtualStringTree für die CE-11.3

Ein Thema von NoName1 · begonnen am 6. Mai 2023 · letzter Beitrag vom 6. Mai 2023
Antwort Antwort
NoName1

Registriert seit: 8. Mär 2018
194 Beiträge
 
Delphi 11 Alexandria
 
#1

VirtualStringTree für die CE-11.3

  Alt 6. Mai 2023, 14:29
Guten Tag,
ich habe eine Unit in der ich die VirtualStringTrees einstelle. In der CE10.4 ist noch alles in Ordnung. In der CE11.3 werden beim Compilieren
nur Fehler geworfen, dass alle Bezüge auf das VST nicht mehr compiliert werden können.

Hat jemand wissen darüber ob für das VirtualStringTree andere Optionen oder sonstige sich geändert hat?

Delphi-Quellcode:
procedure TOVST_Einstellung.Stell_Vst_Ein;
var
  aVST: TVirtualStringTree;
begin
  aVST := FVST;

  aVST.LineStyle := lsSolid; // Fehleranzeige
  aVST.Color := $00D0F8FF;
  with aVST.Colors do // Fehleranzeige
  begin
    HotColor := clFuchsia;
    TreeLineColor := clRed;
    FocusedSelectionColor := clBlack;
    UnfocusedSelectionColor := $0000C0FF;
    UnfocusedSelectionBorderColor := clRed;
  end;
  with aVST.TreeOptions do
  begin
    MiscOptions := MiscOptions + [toEditable, toAcceptOLEDrop, toCheckSupport, toFullRepaintOnResize, toInitOnSave];
    PaintOptions := PaintOptions + [toShowVertGridLines, toShowHorzGridLines, toShowRoot, toUseblendedImages,
    toUseBlendedSelection];
    SelectionOptions := SelectionOptions + [toExtendedFocus, toFullRowSelect, toRightClickSelect];
  end;

  aVST.CheckImageKind := ckSystemDefault;
  aVST.DragMode := dmAutomatic;
  aVST.DragType := dtOLE;
end;

Die aktuelle Version für das VirtualStringTree habe ich bei der JAM-Software herruntergeladen.
Aber auch die Installation aus der CE11.3 über GetIT funktioniert nicht.

Vielen Dank für Eure evtl. Hilfe

Geändert von NoName1 ( 6. Mai 2023 um 14:32 Uhr)
  Mit Zitat antworten Zitat
Alter Mann

Registriert seit: 15. Nov 2003
Ort: Berlin
934 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

AW: VirtualStringTree für die CE-11.3

  Alt 6. Mai 2023, 15:18
Hallo,

bei mir geht's:
Delphi-Quellcode:
uses
   VirtualTrees.Types;

procedure TForm1.Button1Click(Sender: TObject);
begin
  StellVstEin(Vst);
end;

procedure TForm1.StellVstEin(aVST : TVirtualStringTree);
begin
  aVST.LineStyle := lsSolid;
  aVST.Color := $00D0F8FF;
  with aVST.Colors do
  begin
    HotColor := clFuchsia;
    TreeLineColor := clRed;
    FocusedSelectionColor := clBlack;
    UnfocusedSelectionColor := $0000C0FF;
    UnfocusedSelectionBorderColor := clRed;
  end;
  with aVST.TreeOptions do
  begin
    MiscOptions := MiscOptions + [toEditable, toAcceptOLEDrop, toCheckSupport, toFullRepaintOnResize, toInitOnSave];
    PaintOptions:= PaintOptions + [toShowVertGridLines, toShowHorzGridLines, toShowRoot, toUseblendedImages, toUseBlendedSelection];
    SelectionOptions := SelectionOptions + [toExtendedFocus, toFullRowSelect, toRightClickSelect];
  end;

  aVST.CheckImageKind := ckSystemDefault;
  aVST.DragMode := dmAutomatic;
  aVST.DragType := dtOLE;
end;
Zitat:
Aber auch die Installation aus der CE11.3 über GetIT funktioniert nicht.
Was funktioniert nicht? Du musst schon etwas genauer werden.

[Edit] Ich habe 11.3CE und VST über GetIT installiert[/Edit]

Geändert von Alter Mann ( 6. Mai 2023 um 15:34 Uhr)
  Mit Zitat antworten Zitat
mmw

Registriert seit: 10. Sep 2019
Ort: OWL
324 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: VirtualStringTree für die CE-11.3

  Alt 6. Mai 2023, 15:42
Hallo,

bei mir wurden dir *.res Dateien nicht gefunden, obwohl der Pfad mit den Dateien abwechselnd im Suchpfad des Project's bzw. im Biblothekspfad eingetragen waren.

Geholfen hat den '..\Virtual-TreeView\Source\' Pfad einzutragen.

runtergeladen habe ich die Komponente bei JAM bzw. bei GitHub

Gruß
  Mit Zitat antworten Zitat
NoName1

Registriert seit: 8. Mär 2018
194 Beiträge
 
Delphi 11 Alexandria
 
#4

AW: VirtualStringTree für die CE-11.3

  Alt 6. Mai 2023, 16:45
Zitat:
Alter Mann
Alle Zuweisungen wie zum Bsp.:
aVST.LineStyle := lsSolid;
Alle MiscOptions, Alle PaintOptions usw.

Zitat:
by mmw
Der Pfad ist auch korrekt eingetragen
  Mit Zitat antworten Zitat
mmw

Registriert seit: 10. Sep 2019
Ort: OWL
324 Beiträge
 
Delphi 11 Alexandria
 
#5

AW: VirtualStringTree für die CE-11.3

  Alt 6. Mai 2023, 17:32
Hallo,

die Unit 'VirtualTrees.Types' wird beim hinzufuegen des VST nicht automatisch
mit eingebunden.

Nach manuellen hinzufuegen funktioniert's bei mir.

Gruß
  Mit Zitat antworten Zitat
NoName1

Registriert seit: 8. Mär 2018
194 Beiträge
 
Delphi 11 Alexandria
 
#6

AW: VirtualStringTree für die CE-11.3

  Alt 6. Mai 2023, 18:21
Hallo mmw
mit dem Einbinden von .Types lässt es sich wieder compilieren.
Danke für den Hinweis.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:20 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz