Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mission Impossible: TreeView with CheckBox nodes?

Status
Not open for further replies.

Delphard

Programmer
Jul 22, 2004
144
RS
How can I realize TreeView in which nodes are CheckBoxes?
(like in MS Backup tool, or in NortonAntivirus when Scan folders option is selected)
 
The easiest way to do this is to use images.
Create a TImageList with 2 images in, one of a checked checkbox and one of an unchecked checkbox.
Then assign the TImageList to the Images property of your TTreeView, and set the ImageIndex of each TTreeNode appropriately.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top