I have some custom code in OnNodeDblClick. There is some modal window, and next remove items from tree.
Then sometimes got access violation in method TBaseVirtualTree.AdjustTotalHeight on line:
if not (vsVisible in Run.States) or (Run = FRoot) or
(Run.Parent = nil) or not (vsExpanded in Run.Parent.States) then
Callstack:
Maybe event procedure for OnNOdeDblClick should return some parameter like handled and if true, then stop trying execute other code base on doubleclick?
I have some custom code in
OnNodeDblClick. There is some modal window, and next remove items from tree.Then sometimes got access violation in method
TBaseVirtualTree.AdjustTotalHeighton line:Callstack:
Maybe event procedure for OnNOdeDblClick should return some parameter like
handledand if true, then stop trying execute other code base on doubleclick?