Page 1 of 1

SuspendLayout Tchart

Posted: Mon Nov 06, 2006 10:41 am
by 9638303
Dear Sir

How do suspend the TChart when we adding the series and resume the layout after finish adding the series?

Thank & Best regard
Eric

Posted: Tue Nov 07, 2006 11:45 am
by narcis
Hi Eric,

To suspend TChart painting you can use:

Code: Select all

            tChart1.AutoRepaint = false;
To resume painting:

Code: Select all

            tChart1.AutoRepaint = true;
            tChart1.Refresh();