I asked this before (I think) but here goes..
I have code in a forms Paint event that draws a non regular shape form and fills the backcolor property. This on its own works fine with no flicker. But say I add six controls to the form and also have code to set their backcolor property. Now I get a flicker as each control is modified and I can see each control in turn change colour.
Question is this: Is there a way to disable screen refresh so all the modifications take place then the screen is refreshed in one go?
I have code in a forms Paint event that draws a non regular shape form and fills the backcolor property. This on its own works fine with no flicker. But say I add six controls to the form and also have code to set their backcolor property. Now I get a flicker as each control is modified and I can see each control in turn change colour.
Question is this: Is there a way to disable screen refresh so all the modifications take place then the screen is refreshed in one go?