Select on Tree with Checkboxes

Started by steezware, August 22, 2024, 07:36:45 PM

Previous topic - Next topic

steezware

I have a very simple treeview that only has a main node and one child, with only the children having checkbox selectors - defined as such...

LIST_BOX cTree, @(tmpCOL,tmpROW,tmpCOLS,tmpROWS), OPT="A,e,!,q,|", SEP=cTreeSep$

cTree'StateBitmaps$ = "!TreeUnselected|!TreeSelected|"
cTree'AutoState     = 2         ! toggle between states 1 (OFF) and 2 (ON)
cTree'CascadeState  = 0
cTree'Edit          = isFALSE
cTree'SepLoad$      = cTreeSep$
cTree'Sep$          = cTreeBranchSep$
cTree'Auto          = isTRUE
cTree'NotifyExpand  = isFALSE

Question: When I click on a child node, my UI class (LIKE *NOMADS) hits its appropriate method...

FUNCTION LOCAL ChangeLB_Tables()   TREE_SELECT

...but then when I click the SAME node it does not hit the on-select method. It's as if the automatic-signal-all-changes is not working, or one of my many settings above for the tree is not correct? I can programmatically change the  focus to another node to remove focus from the orginal node and then clicking on the original works, but that's not a fix.

Help? Thx!