Thema
:
Delphi
VirtualTree problems. Soft-gems = no support at all.
Einzelnen Beitrag anzeigen
toms
(CodeLib-Manager)
Registriert seit: 10. Jun 2002
4.648 Beiträge
Delphi XE Professional
#
6
Re: VirtualTree problems. Soft-gems = no support at all.
23. Jan 2010, 09:54
zusammenfalten
·
markieren
Delphi-Quellcode:
procedure
TForm1.VSTListeGetImageIndexEx(Sender: TBaseVirtualTree;
Node: PVirtualNode; Kind: TVTImageKind; Column: TColumnIndex;
var
Ghosted: Boolean;
var
ImageIndex: Integer;
var
ImageList: TCustomImageList);
begin
Case
Something
of
...
// e.g. if Column = 1 then take Imagelist1
// *or* if that node has a special flag, take Imagelist2 etc..
1: ImageList := ImageList1;
2: ImageList := ImageList2;
end
;
end
;
Thomas
Zitat
toms
Öffentliches Profil ansehen
Mehr Beiträge von toms finden