This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
Fix Repainting ElTree
procedure TElTreeItem.RedrawItemPart;/procedure TElTreeItem.RedrawItem;
if not (csDestroying in FOwner.ComponentState) then
begin
if FOwner.FView.HandleAllocated() then <--- // be shure windows is created and have valid handle
InvalidateRect(FOwner.FView.Handle, @R, true);
end;
if not (csDestroying in FOwner.ComponentState) then
begin
if FOwner.FView.HandleAllocated() then <--- // be shure windows is created and have valid handle
InvalidateRect(FOwner.FView.Handle, @R, true);
end;

Comments