Control size

Started by John Messingham, January 06, 2005, 08:30:15 AM

Previous topic - Next topic

John Messingham

Hi All, Happy new year.

What is the best way to resize a visual control via code in PB/FF. When I resize a window I tend to get a lot of flickering.

TechSupport

You could try unchecking the redraw class styles for the Form (CS_VREDRAW and CS_HREDRAW).  Whenever I have controls that fill the size of a Form, I uncheck those styles. It causes the Form to not to repaint automatically when the form is resized.