It can be hard work, sometimes...
- Posted by petelomax Nov 24, 2017
- 1292 views
Confession time (gotta tell someone)
Have just spent HOURS trying to track this one down:
if SHOWBRANCHINFO then ?{"lastnode",IupGetInt(hierarchytree,"LASTADDNODE") printf(1,"IupSetAttributeId(hierarchytree, \"ADDBRANCH\", ... ?{"lastnode",IupGetInt(hierarchytree,"LASTADDNODE") end if -- (there were a couple of comments in the way here, but still...) IupSetAttributeId(hierarchytree, "ADDBRANCH", ...
Just COULDN'T understand why it wasn't updating the lastaddnode properly...
Stupid Me