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 ?

Comments

  1. Which underlying DB tech? ADO, dbExpress, FireDAC - or doesn't that matter?

    ReplyDelete
  2. It doesn't matter. I can reproduce it with any underlying DB.

    ReplyDelete
  3. Perhaps make a small. self-contained, compilable example?

    ReplyDelete
  4. You need to work on your explanations. So, it's control redraw speed you are complaining about. That should be fairly trivial to work around.

    ReplyDelete
  5. Lars 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 ?

    ReplyDelete
  6. Breakpoints 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

Post a Comment