SuspendLayout Tchart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Eric
Newbie
Newbie
Posts: 99
Joined: Wed Sep 14, 2005 4:00 am

SuspendLayout Tchart

Post by Eric » Mon Nov 06, 2006 10:41 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Nov 07, 2006 11:45 am

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();
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply