SCSF performance...
-
Hi! in one of projects i load a View with about 10 textboxes and a bit less comboboxes placed on a tablelayoutpanel databound to a dataset. the problem is that while loading the View it flickers a lot. like redrawing all of these controls a few times - looks quite disturbing.. i tried SuspendLayout of the main form while loading the control but did't seem to solve the problem.. anybody have any ideas how to get rid of the flickering?? (tried View's doublebuffered = true too..)
life is study!!!
-
Hi! in one of projects i load a View with about 10 textboxes and a bit less comboboxes placed on a tablelayoutpanel databound to a dataset. the problem is that while loading the View it flickers a lot. like redrawing all of these controls a few times - looks quite disturbing.. i tried SuspendLayout of the main form while loading the control but did't seem to solve the problem.. anybody have any ideas how to get rid of the flickering?? (tried View's doublebuffered = true too..)
life is study!!!
Hi, two ideas: 1. I dont think SuspendLayout gets propagated to the form's children; so it stops the form relayouting its direct Controls, but it does not stop those Children from relayouting or repainting themselves when they feel like doing that. 2. For some controls there also is BeginUpdate/EndUpdate which stops the redrawing. Hope this helps.
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }