I know this topic has been brought up many times before, but none of my searches have resulted in finding a definitive answer anywhere.
My main form has a menu bar, multiple buttons on a panel running across the top, Panels, Splitters, TreeViews, a Header Control and a StatusBar.
The splitters allow me to resize the panels which have other components on them (primarily TreeViews) in a layout like Outlook Express.
Resizing is OK, but as soon as I resize the main form, I get MAJOR flickering and flashing bands on all the main panels, header control and status bar.
Oddly enough, the menu bar, the panel running across the top of the form with all my buttons on and the two TreeView panels are rock steady - not a hint of flickering.
Double buffering of the main form and panels has no effect whatsoever and LockWindowUpdate seems to work quite well, but all the icons on my desktop flash like there's no tomorrow!
Anyone help please?
TDK_Man
procedure TForm1.FormCreate(Sender: TObject);
begin
HeaderControl1.DoubleBuffe
StatusBar1.DoubleBuffered:
end;
It does reduce the flicker. :)