Hello,
Since we upgraded from EQ 6 to VCL 13.2.5, we have a strange issue with CxgridDBTableView, ONLY if Tdataset.AfterScroll contains code that takes time and contains application.processmessages. Grid scrolls uncontrolled and Scrollbar button stays in pressed state, until BOF or EOF is reached.
With EQ 6, we did not have this issue.
Iv there a way to stop Grid View Scrolling from TDataset.AfterScroll?
Regards, Ronald
Additional info: scrolling stops if mouse is moved from button, scrolling continues if mouse is moved over button again (no clicks, only moves).
Hello Ronald,
I was not able to reproduce this behavior. Attached is an example, that operates without the EOF scrolling on my side. Please modify it to illustrate the problem, and attach it to your next message. I am looking forward to hearing from you.
Hi Paulo,
Unfortunately, I am unable to create a small test app. In such cases, problem does not occur. However, this does not mean that issue does not occur.
Is reproduction on your side the only way you can help, or would for instance a TeamViewer session be an option? Reproduction in application is easy.
regards, Ronald
I kindly ask you to provide a small sample project. This will let us examine it on our side and check with different versions of our controls. Here is an algorithm I personally use to localize a problem in a large project. Reset all event handlers in your application (except AfterScroll). If the problem disappears, set them back one by one, and see when the problem returns. If this does not help, remove all controls one by one and test your sample at each step until the problem is gone. As a result, you will have a small sample illustrating the issue.
Hi Paulo,
Please find attached a modified version of gridmodedemo,. I modified tvOrder.DataController.DataSource.DataSet.AfterScroll event procedure so that for each order, an html-file is loaded, which takes time, whicht leads to uncontrolled scrolling.
Reproduction: start exe, open orders for fist car, click on <down> arrow of orders scrollbar and watch the app scrolling until the last order has reached.
In my first message, I linked behavior to application .processmessages, but later, I found that the fact that a scroll handler takes time causes the behavior.
Regards, Ronald
[Attachment is removed by DevExpress because of the private data]
Hello,
Thank you for your sample project. I have reproduced the described behavior without using the HTML editor and forwarded this ticket to our developers for research.