Autor Beitrag
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: Fr 18.06.04 11:02 
Hallo!

Also, ich habe eine TTreeView-Komponente, in der ich einen Knoten auswählen und per Drag-and-Drop an eine andere Stelle setzen möchte. Wie ich jetzt feststelle, zu welchem Node gedraggt wurde, weiß ich.
Nur: Wie krieg ich raus welcher Node gezogen wurde? :?:
bzw. Was für ein Objekt steht in Source drin und wie kriege ich daraus den gezogenen Knoten? Ich hab versucht Source in TTreeNode umzuwandeln, aber das geht nicht.

Danke, Leute,
Sebastian
JoelH
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Fr 18.06.04 11:16 
treeview.selected zeigt auf den ausgangsNode

_________________
mfg. Joel
jaenicke Threadstarter
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: Fr 25.06.04 14:04 
Thanx, daran hatte ich gar nicht gedacht.
:D