Lazarus
Programming => LCL => Topic started by: Dibo on October 06, 2010, 08:19:30 pm
-
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.
-
What about TForm.BeginFormUpdate and TForm.EndFormUpdate?
-
Hm, I try with this. Thanks