TurboPack / MustangpeakEasyListview

TurboPack MustangpeakEasyListview is part of VirtualShellTools for the Listview but can be used for a TListview Replacement that is faster and more customizable.
Other
38 stars 22 forks source link

Issue with Delphi 12 #20

Closed mhietan closed 11 months ago

mhietan commented 11 months ago

Using Delphi 12 and Win64 build:

function TEasyHeader.GetViewWidth: Integer;

begin
  if Positions.Count > 0 then

    Result := Positions[Positions.Count - 1].DisplayRect.Right
  else
    Result := 0
end;

Compiler error occurs in line Result := Positions[Positions.Count - 1].DisplayRect.Right Win32 compile is successful.

romankassebaum commented 11 months ago

It seems to be an issue with the 64 bit compiler. I fixed it with a local variable.