Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   TurboPack - VirtualShellTools - TCustomVirtualExplorerTree (https://www.delphipraxis.net/207096-turbopack-virtualshelltools-tcustomvirtualexplorertree.html)

Alter Mann 24. Feb 2021 09:10

TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Hallo,

beim compilieren der VirtualShellToolsD240.bpl bekomme ich in der Zeile 9538 die Fehlermeldung
Zitat:

Undeklarierter Bezeichner
:
Delphi-Quellcode:
...
    if BitChanged(Value, OldOptions, toImages) then
    begin
      if toImages in Value then
        {$IF CompilerVersion >= 33}
        Owner.Images := Owner.FScaledSmallSysImages
        {$ELSE}
        Owner.Images := Owner.SmallSysImages              //<-- HIER
        {$IFEND}
      else
        Owner.Images := nil
    end;
...
SmallSysImages erkennt er (in 10.1 Berlin) nicht und ich finde es auch nicht.

Kann mir jemand die 'Augen' öffnen?

himitsu 24. Feb 2021 09:20

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Was ist Owner für ein Typ?
Und genau in Diesen mußt du mal reinsehn und schauen ob/wo es ist.

33 = ab 10.3 Rio

Alter Mann 24. Feb 2021 10:02

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Rechte Maustaste -> Deklaration suchen :

Delphi-Quellcode:
...
TCustomVirtualExplorerTreeOptions = class(TStringTreeOptions
...
property Owner: TCustomVirtualExplorerTree read GetOwner;
...
das gleiche bei
Delphi-Quellcode:
TCustomVirtualExplorerTree = class(TCustomVirtualStringTree, IVirtualShellNotify)
und so weiter.

Ergebnis:
Zitat:

ich finde es auch nicht

mmw 24. Feb 2021 17:43

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Liste der Anhänge anzeigen (Anzahl: 1)
hallo,

das müsste im \Source Verzeichnis liegen.

..\MustangpeakVirtualshellTools-master\Source


ich hab's von hier

https://github.com/TurboPack/Mustang...tualshellTools

Gruß

Alter Mann 24. Feb 2021 18:48

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Ok,

wo ist Hierachiekonform SmallSysImages deklariert?

Mit rechter Maustaste auf Owner und dann Deklaration suchen komme ich bis TPersistent.
Nur SmallSysImages finde ich nicht.

Ist dem so oder bin ich Blind (bei letzterem bitte ich um einen Fundstellennachweis von SmallSysImages).

Danke

mmw 24. Feb 2021 18:53

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
hallo,

dürfte dies sein.

MPCommonObjects


function SmallSysImages: TCommonSysImages;

https://github.com/TurboPack/MustangpeakCommonLib

https://github.com/TurboPack/MustangpeakEasyListview

https://github.com/TurboPack/VirtualTreeView

Gruß

Alter Mann 25. Feb 2021 08:25

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Liste der Anhänge anzeigen (Anzahl: 1)
In welchen Dateien die Eigenschaft/Klasse SmallSysImages verwendet wird ist bekannt (siehe Anhang).
Gesucht wird die in der Unit VirtualExplorerTree verwendete.
Also bitte keine weiteren 'glaube, dürfte, etc.'.

mmw 25. Feb 2021 18:34

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
hallo,

ich hatte #1 nicht beachtet. Bin von folgenden ausgegangen. ( VirtualExplorerTree);

Delphi-Quellcode:
 if Column = Header.MainColumn then
    begin
      Result := Images;
      if Result = nil then
        {$IF CompilerVersion >= 33}
        Result := FScaledSmallSysImages;
        {$ELSE}
        Result := SmallSysImages;
        {$IFEND}

Alter Mann 25. Feb 2021 19:10

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Hi,

mir reicht es. Ich schreib den Leuten die das TurbaPack pflegen und hoffe dort erhört zu werden.

Alter Mann 3. Mär 2021 12:37

AW: TurboPack - VirtualShellTools - TCustomVirtualExplorerTree
 
Hi,

nachdem ich nur die Sourcen für Delphi-Berlin (nicht Brunnch, sondern Tag) heruntergeladen hatte, lies es sich auch installieren und nutzen.

Danke


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:50 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