method Gantt.Refresh ()

Refreshes the control's content.

 TypeDescription 

The Refresh method forces repainting the control. Use the BeginUpdate and EndUpdate methods to maintain the control's performance while adding multiple items or columns. Use the hWnd property to get the handle of the control's window.

The following VB sample calls the Refresh method:

Gantt1.Refresh

The following C++ sample calls the Refresh method:

m_gantt.Refresh();

The following VB.NET sample calls the Refresh method:

AxGantt1.CtlRefresh()

In VB.NET the System.Windows.Forms.Control class has already a Refresh method, so the CtlRefresh method should be called.

The following C# sample calls the Refresh method:

axGantt1.CtlRefresh();

In C# the System.Windows.Forms.Control class has already a Refresh method, so the CtlRefresh method should be called.

The following VFP sample calls the Refresh method:

thisform.Gantt1.Object.Refresh()

Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.