Controls Flicker(Please Help If You Have Solution)
-
Hi I have a panel on FormA which contain different controls like labels, buttons etc. I am opening another FormB by clicking on buttonA(which is on panel with other controls). FormB display on panel, when i close FormB then controls(labels which contain text) on panel flicker. can any one have solution for this problem. Thanks navees
-
Hi I have a panel on FormA which contain different controls like labels, buttons etc. I am opening another FormB by clicking on buttonA(which is on panel with other controls). FormB display on panel, when i close FormB then controls(labels which contain text) on panel flicker. can any one have solution for this problem. Thanks navees
You have two forms over here in your application. The second form display on click event of some controls, which is available in first form. Am i right so far ?. If so, Probabily you will be doing any custom panel paint or default. If you are doing custom painting then try to impliment Double Buffering techinicsin your paint event handler. If not, insted of repainitng (form itself will do repainting when you chnage the status of container controls), only try to Invalidate contained controls which are really nessasary to paint.
Note : (1) Double Buffering. (2) Control Invalidating.
Please do little home work on the above mentioned ideas. Sreejith Nair [ My Articles ]