Forum > LCL
How to speed up loading of components
(1/1)
Dibo:
Hi,
I have form and some components. One of them is a TPanel. This panel contains a lot of buttons created on runtime (this panel is kind of buttons list - each button have align=alTop). User can clear this list or add more buttons. I think, when I load list of buttons, panel is repainted every time when I add a new button. Can I somehow lock painting panel when adding buttons? Somethink like TListView.BeginUpdate and TListView.EndUpdate.
Regards.
Leledumbo:
What about TForm.BeginFormUpdate and TForm.EndFormUpdate?
Dibo:
Hm, I try with this. Thanks
Navigation
[0] Message Index