[Lazarus] Optimize DBGrid speed (Maybe win-widgetset paint specific)
lazarus at mfriebe.de
Wed Jan 8 19:06:37 CET 2014
On 08/01/2014 16:55, Petr Kristan wrote:
> On Wed, Jan 08, 2014 at 02:35:08PM +0100, Hans-Peter Diettrich wrote:
>> Petr Kristan schrieb:
>>> In the beginning of Grid paint is Canvas.GetClipRect
Have you checked if it applies to other grids too? If it is generic then
mailing with the subject "dbgrid" will potentially exclude people.
I have myself not much looked at painting at all. If I take an empty
dbgrid (no datasource), and call Invalidatecect(grid.handle, @r), then I
get only one call to paint. (vista/classic theme). I have not checked
how much that one call does paint.
More information about the Lazarus