RxFPC:add filter to TSelectDataSetForm

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2023-07-04 11:51:39 +00:00
parent f94507c050
commit c1e6d2dca6
5 changed files with 56 additions and 24 deletions

View File

@ -124,7 +124,8 @@ begin
if ASize>-1 then
begin
//ASize1 := MulDiv(ASize, Screen.PixelsPerInch, 96);
ASize1 := MulDiv(ASize, 96, Screen.PixelsPerInch);
if Screen.PixelsPerInch <> 0 then
ASize1 := MulDiv(ASize, 96, Screen.PixelsPerInch);
Result := IntToStr(ASize1);
end;
end;