troubleshooting Question

Resizing Form With Multiple TPanels Causing Major Flicker

Avatar of tdk_man
tdk_man asked on
Delphi
5 Comments1 Solution1302 ViewsLast Modified:
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
ASKER CERTIFIED SOLUTION
Lesko987

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros