PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Treeview checkbox event ?
Treeview checkbox event ?
Débuté par skippy, 16 sep. 2019 22:03 - 2 réponses
Membre enregistré
17 messages
Posté le 16 septembre 2019 - 22:03
I try to use a treeview to show some data, which is running quite nice after a few tweaks. I made the treeview control using checkmarks, but I can't find an event for changing the same. I tried "Select" and "Click" event but they have a lot of drawbacks.
Guys, where in the world is the "Check" event ?

--
Windev, WinMobile & WebDev 24
Message modifié, 16 septembre 2019 - 22:04
Membre enregistré
52 messages
Popularité : +3 (3 votes)
Posté le 17 septembre 2019 - 14:23
"Whenever modifying TREE_Noname1" is the event linked to "checked" changes

Change text at Tree_Noname1 adding "_OK" when checked:

Whenever modifying TREE_Noname1
IF TREE_NoName1[TREE_NoName1]..Checked THEN
TreeModify(TREE_NoName1,TREE_NoName1[TREE_NoName1],TREE_NoName1[TREE_NoName1] + "_OK")
END
Message modifié, 17 septembre 2019 - 14:25
Membre enregistré
17 messages
Posté le 17 septembre 2019 - 16:22
yeah, just found it and wanted to report back here. Then I found your reply, thanks a lot to take your time :-)

--
Windev, WinMobile & WebDev 24