You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if Assigned(Result.PrevSibling) then
begin
// No children anymore, so take the previous sibling.
if vsVisible in Result.PrevSibling.States then
begin
Result := Result.PrevSibling;
Break;
end;
end
Should be changed to
if Assigned(Result.PrevSibling) then
begin
// No children anymore, so take the previous sibling.
Result := Result.PrevSibling;
if vsVisible in Result.States then
Break;
end
or in come cases (PrevSibling is assigned but not visible) tree will go in infinite loop.
The text was updated successfully, but these errors were encountered:
Code
Should be changed to
or in come cases (PrevSibling is assigned but not visible) tree will go in infinite loop.
The text was updated successfully, but these errors were encountered: