I have an application that works with some external data. This data is a kind of database that contains table structures. The application reads such a structure, gets the number of fields, their names, data type, mandatory filling and so on. On the basis of this data, fill fields are created dynamically (TEdit, TComboBox, etc.) and cast into the corresponding dynamic arrays. These objects are displayed on the panel (TPanel). Since there are many objects and all of them do not fit on the panel, I attached a scrollbar and change the Top property of these objects when scrolling.
Everything seems to be convenient, but when the total number of dynamic objects exceeds 150 pieces, they cannot be quickly redrawn, and unpleasant retarding visual effects occur when scrolling.
Can someone tell me a more efficient way to store objects, and their scrolls?
Ps. it is not necessary to suggest doing a stringgrid instead of visual objects, I leave it exactly from it.