Jump to content
RaelB

Painting in VirtualStringTree gets stuck/frozen when scrolling

Recommended Posts

I'm using VirtualTree 7.6.1, in Delphi Sydney (10.4) I do implement some custom painting in BeforeCellPaint, AfterCellPaint, AfterItemErase, AfterItemPaint and PaintText. However, the below problem occurs even when I remove all these custom paint event handlers.

 

As in below video, when scrolling with the scrollbar, painting is not smooth. It gets "stuck" and repeat paints a particular node text. When the scrollbar is released, the tree repaints correctly.

 

Has anyone experienced something like this? Any ideas of what could be causing the problem?

 

Thanks

Share this post


Link to post

How is your text output handled within the VST? It could be that you're doing tings in OnGetText which are a bit time consuming.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×