Autor Beitrag
GuaAck
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 378
Erhaltene Danke: 32

Windows 8.1
Delphi 10.4 Comm. Edition
BeitragVerfasst: Mo 27.09.10 22:09 
Hallo Leute,

ich habe einen Treeview (Delphi 7), der bei Programmstart einen bestimmten Knoten anwähltren soll. Das mache ich mit Treeview.select(gewuenschterKnoten). Geht, klappt auf, genau der gewünschte Eintrag ist sichtbar, Programm startet für den angewählten Knoten.

Aber: Der angewählte Punkt wird - im Gegensatz zur Anwahl per Cursor - nicht farbig markiert.

Habe nichts gefunden, wie man das aktivieren kann. Hat da jemand eine Idee?

Gruß Guenther
Tryer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 226
Erhaltene Danke: 7



BeitragVerfasst: Di 28.09.10 06:41 
TTreeview.SetFocus ?

Grüsse, Dirk
iKilledKenny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 8

Win XP
D5 Prof, C# Express 2005
BeitragVerfasst: Di 28.09.10 07:02 
Ich glaube Guenther sucht TreeView.HideSelection.
GuaAck Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 378
Erhaltene Danke: 32

Windows 8.1
Delphi 10.4 Comm. Edition
BeitragVerfasst: Di 28.09.10 11:21 
Danke, ich muss Treeview.hideselection := false setzen, dann ist es so, wie ich es haben will.

Gruß
Guenther