Home > database >  Ask next treeview check box
Ask next treeview check box

Time:09-18


Treeview I bring as shown on the BOX BOX, now some text BOX BOX will not automatically hook, what method can solve the
I added in the clicked
Treeviewitem tvitem
The getitem (handle, tvitem)
IF tvitem. Statepictureindex=1 THEN
Tvitem. Statepictureindex=2
The ELSE
Tvitem. Statepictureindex=1
END the IF
Setitem (handle, tvitem)
Later, points can hook up, but some can't check BOX, is there any way to achieve some text and BOX can be ticked, on the other hand can be cancelled at the same time

CodePudding user response:

The
refer to the original poster u012996712 response:

Treeview I bring as shown on the BOX BOX, now some text BOX BOX will not automatically hook, what method can solve the
I added in the clicked
Treeviewitem tvitem
The getitem (handle, tvitem)
IF tvitem. Statepictureindex=1 THEN
Tvitem. Statepictureindex=2
The ELSE
Tvitem. Statepictureindex=1
END the IF
Setitem (handle, tvitem)
Later, points can hook up, but some can't check BOX, is there any way to achieve some text and BOX can be ticked, whereas can cancel


As bad, if not, you simulate the mouse to click box try

Use mouse_event

CodePudding user response:

Mouse_event seems to also not line,,,

CodePudding user response:

refer to the second floor u012996712 response:
mouse_event seems to also not line,,,


That should be your parameter is set wrong, mouse_event mouse click effect is the same with you
  • Related