Is there a straight-forward way to figure if a treenode was deleted? A property or a function being unanimously nil, -1, false, or so?
// tn:ttreenode; tvyu:ttreeview;
tn:=tvyu.items[4]; // tn is nothing but a pointer, i guess
// do something including:
tvyu.items[4].delete; // this probably does free some memory
// do something then check if tn was deleted
if (tn.absoluteindex=0) and (tn<>tvyu.items[0]) then ... // this works at first glance but
// i guess tn just points to a zero randomly and i can`t rely on it
I could check all variables of this type and nil them in the deletion event if they match, just wondering if there is a simpler method.