This bored me from some times now...
This bored me from some times now...
Did anyone noticed how slow is TDatasetField ? Double clicking on a TDatasetField will display another DBGrid. Moving this TDataset DBGrid is slow as hell !
Is there any workaround ?
Did anyone noticed how slow is TDatasetField ? Double clicking on a TDatasetField will display another DBGrid. Moving this TDataset DBGrid is slow as hell !
Is there any workaround ?
Which underlying DB tech? ADO, dbExpress, FireDAC - or doesn't that matter?
ReplyDeleteIt doesn't matter. I can reproduce it with any underlying DB.
ReplyDeletePerhaps make a small. self-contained, compilable example?
ReplyDeleteDefine slow.
ReplyDeletedrive.google.com - Slow TDatafield grid moving.mp4 - Google Drive
ReplyDeleteYou need to work on your explanations. So, it's control redraw speed you are complaining about. That should be fairly trivial to work around.
ReplyDeleteLars Fosdal, yes I was a little bit lazy on this... I'm using Delphi's TDBGrid component. This redraw issue is their for quite a long time now. I've never debugged such things. Where should I start to look at ?
ReplyDeleteBreakpoints in the rendering code may be of use to understand the reposition / redraw mechanisms. Disabling, enabling paint on mouse down + mouse move, until mouse up could be an alternative.
ReplyDelete