Autor Beitrag
hansg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 168

Win XP Professional SP3, Vista Ultimate 32 SP1
Delphi 6 Professional
BeitragVerfasst: So 29.03.09 19:28 
Hallo zusammen,

ich arbeite der erste mal mit Treeview, und hätte eine Frage dazu.

Kann man einzelne Einträge disablen?

_________________
Gruß Hans
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 29.03.09 19:59 
Wie meinst du das? Soll man sie nicht durch einen Klick auswählen können? Grau dargestellt werden? ...

Grundsätzlich wäre vielleicht eine VirtualTreeView nützlich, denn bei der kannst du alles manuell anpassen, selbst zeichnen, ganz wie du willst.
hansg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 168

Win XP Professional SP3, Vista Ultimate 32 SP1
Delphi 6 Professional
BeitragVerfasst: Mo 30.03.09 04:49 
Hallo,

ich meinte das mit der grauen Darstellung, und dann nicht anwählbar.

Wie z. B.

ausblenden Quelltext
1:
checkbox1.enabled:=false;					

_________________
Gruß Hans