[Lazarus] TsWorkshetGrid isn't scrolling enough

Frans fjf.vanleeuwen at quicknet.nl
Wed Apr 6 19:34:59 CEST 2016


Hi.

Your demo works fine, so I will change my program.
I've noticed another point: on my computer is the fontsize and the row heigth greater in my program 
than in your demo.
I've tried changing the fontsize, in the object inspector and in the code, but that makes no difference.

I use this code in a much bigger program where also TStringGrids are used. There too is the fontsize 
bigger for the worksheetgrid then in the StringGrids. Why? I do not know.

Thanks for your time and help.

mvg
Frans van Leeuwen
M 06-51695390

Op 06-04-2016 om 14:31 schreef Werner Pamler:
>
>> I have 96 dpi, but I use Windows classic as thema.
>> When  I switch to Windows 7 Basic, the grid works fine.
>
> No luck, I switched to Win-Classic design, stll works fine. Since TsWorksheetGrid is a modified 
> LCL TCustomDrawGrid and IIRC does not change anything with respect to scrolling I suspect that the 
> bug is in grids.pas. Could you please run the attached demo. It is like your own demo but replaces 
> the TsWorksheetGrid by a standard TStringGrid. On my system, this demo behaves correctly as well.
>
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list