Home > database >  How to judge the TreeView control node in the PB have been checked
How to judge the TreeView control node in the PB have been checked

Time:10-22

How to judge the TreeView control node in the PB have been checked, or PB TreeView control node in the front of the checkboxes checked is set out what event,

CodePudding user response:

CheckBoxes Boolean Specifies been the state images are replaced by a CheckBoxes. The CheckBoxes are set to unchecked by default. The TreeView control will process the mouse and the rid_device_info_keyboard input to toggle the checked state. The Values are:
? True? Checkboxes are displayed.
? False? Checkboxes are not displayed.

The state of an item 's checkbox can be determined by checking The state picture index for The item:
Unchecked=1
Checked=2

Judging by checking the treeviewitem StatePictureIndex, 1 for choice, 2 for the selected

CodePudding user response:

Tvi_find. Statepictureindex=2
1 or 2
  • Related