How to reproduce it:
- Place default FNCTableView on the form, change its name to View1
- This is the list of selected products for example. If you want to delete them, you click on the product. So add OnItemClick event:
procedure View1ViewItemClick(Sender: TObject; AItem: TTMSFNCTableViewItem);
begin
if AItem.Index >= 0 then
DestView.Items.Delete(AItem.Index);
end;
Click on the first item on the list, until all of them disappear. After last item is deleted, the program crashes in the procedure
function TTMSFNCCustomTreeView.XYToNodeTitleAnchor(
ANode: TTMSFNCTreeViewVirtualNode; X, Y: Single): TTMSFNCTreeViewNodeAnchor;
called from
procedure TTMSFNCCustomTreeView.HandleMouseUp(Button: TTMSFNCMouseButton; Shift: TShiftState;
X, Y: Single);
But maybe the items should be deleted in a different way?