Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi VST Wie Sortieren, ohne Columns??!!!! (https://www.delphipraxis.net/136447-vst-wie-sortieren-ohne-columns.html)

newbe 30. Jun 2009 22:18


VST Wie Sortieren, ohne Columns??!!!!
 
Hallo

Ich habe im VST eine Tree Struktur die so aussieht.

Delphi-Quellcode:
|_Obernode1
       |_ Chieldnode1
       |_ Chieldnode2 
       |_ Chieldnode3
       |_ ...
       |_ Chieldnode200
|_Obernode2 
       |_ Chielnode1
       |_ Chieldnode2
       |_ Chieldnode2 usw.
Mein Problem ist jetzt, das ich keine Columns habe. Ich muss aber alle ChieldKnoten in in den jeweiligen Obernodes sortieren.
Weis jemand wie das ohne Columms zu bewerkstelligen ist? Zur Erinnerung, ich habe keine Columns, Sortcolumn kann also nicht gesetzt werden. *ratlos*

mfG newbe

chaosben 1. Jul 2009 06:27

Re: VST Wie Sortieren, ohne Columns??!!!!
 
Du kannst es händisch per SortTree(-1, ...) machen oder per
Delphi-Quellcode:
SortColumn := -1;
SortDirection := ...;
AutoSort := true

newbe 1. Jul 2009 20:34

Re: VST Wie Sortieren, ohne Columns??!!!!
 
Vielen Dank chaosben, funktioniert sehr gut dein Tipp :)

mfG newbe


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:37 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz