We have an application for sale, and in this application we have a scroll container. If the seller selects a product, a new product line is created and inserted into the scroll. The component of the product line is a frame - text fields, buttons and labels in it.
But here is a small problem by inserting this product line control into the temporary scroll pane. It is slow. I can see how product selection is slowly pulling edittext components into the scroll.
I tried setting the components visibilityto false before ScrollBox.InsertControland turning it on after, but this does not speed things up. I also read about DisableAlign / EnableAlign, but I do not know exactly where I should put this line of code.
How to speed up the insertion of this custom component into the scroll form container?
source
share