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 TVirtualStringTree checkbox (https://www.delphipraxis.net/156805-tvirtualstringtree-checkbox.html)

sdean 15. Dez 2010 15:10

TVirtualStringTree checkbox
 
Hi , please how could i achieve this :

Code:
0
|_1
  |_1.1  ----> only this will be checked
  |_2.1
  |_3.1
|_2
  |_2.1 ---- > only this will be checked
  |_2.2
  |_3.2

thank you

DeddyH 15. Dez 2010 15:52

AW: TVirtualStringTree checkbox
 
You can use e.g. the OnGetText-event to set the CheckState of the node.

sdean 15. Dez 2010 16:08

AW: TVirtualStringTree checkbox
 
many thanks DeddyH , But i want to achieve using OnButtonClick event

DeddyH 15. Dez 2010 18:23

AW: TVirtualStringTree checkbox
 
In this case you have to identify the nodes to get checked and set their Checkstate-Property.


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:34 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