Autor Beitrag
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Di 01.07.08 22:10 
HI,

ich wollt fragen ob es ne Möglichkeit gibt, nur bestimmte Items vom TTreeView mit
ner anderen Farbe zu zeichnen?
Das wars auch schon ^^

gn8, Bergmannn
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Di 01.07.08 22:14 
Ja. Stichwort OwnerDraw (onCustomDraw, onCustomDrawItem)

_________________
Markus Kinzler.
Bergmann89 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Di 01.07.08 22:52 
alles klar, Danke. funzt 1a.
bin auch auf ein altes Thema von mir gestoßen, da wollt ich die Cells vom Grid neu einfärben.
da warste auch der 1. der geantwortet hat, mit dem gleich text wie jetzt xD
zufälle gibts ^^

gn8 bergmann