Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Komponente gesucht: TCheckGroup mit Sub-Items (https://www.delphipraxis.net/213703-komponente-gesucht-tcheckgroup-mit-sub-items.html)

Helmi 12. Sep 2023 12:58

Komponente gesucht: TCheckGroup mit Sub-Items
 
Hallo Gemeinde,

kennt jemand eine Komponente ähnlich TCheckGroup, die aber neben Haupt-Items auch Sub-Items hat?

Also so ähnlich:

Code:
| | Haupt-Item 1
    | | Sub-Item 1
    | | Sub-Item 2

| | Haupt-Item 2 
    | | Sub-Item 1
    | | Sub-Item 2
| | Haupt-Item 3
| | Haupt-Item 4

himitsu 12. Sep 2023 13:41

AW: Komponente gesucht: TCheckGroup mit Sub-Items
 
Nja, erstmal fällt wohl die Wollmilchsau ein:
TVirtualStringTree und da eine CheckBox und oder RadioButton in einer der Spalten

Aber natürlich geht auch der normale TTreeView und dort das Property CheckBoxes auf True :angle:
sowie in OnCheckStateChanged eventuell SubItems entsprechend des Items auch mit (un)checken.

Helmi 12. Sep 2023 13:56

AW: Komponente gesucht: TCheckGroup mit Sub-Items
 
Zitat:

Zitat von himitsu (Beitrag 1526796)
Nja, erstmal fällt wohl die Wollmilchsau ein:
TVirtualStringTree und da eine CheckBox und oder RadioButton in einer der Spalten

Aber natürlich geht auch der normale TTreeView und dort das Property CheckBoxes auf True :angle:
sowie in OnCheckStateChanged eventuell SubItems entsprechend des Items auch mit (un)checken.

Die Idee mit TTreeView ist gut, nur bei XE2 gibt es noch keine CheckBoxen in TTreeView.
Ansonsten hätte mir die Idee gut gefallen.

TVirtualStringTree gibt es auch noch nicht

mytbo 12. Sep 2023 14:17

AW: Komponente gesucht: TCheckGroup mit Sub-Items
 
Zitat:

Zitat von Helmi (Beitrag 1526797)
TVirtualStringTree gibt es auch noch nicht

Hier. Auch vom Branch 6 gibt es Delphi XE2 kompatible Versionen.

Bis bald...
Thomas

Delphi.Narium 12. Sep 2023 14:19

AW: Komponente gesucht: TCheckGroup mit Sub-Items
 
TJvTreeView von den Jedis? Klappt auch schon mit Delphi 7.


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

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