Sometime the Gantt Table is not redraw correctly when used as Object Linking and Embedding (OLE) custom control.

Technote (troubleshooting)


Problem(Abstract)

How to force the Gantt Table to repaint when hidding a third party window that was covering it?

Symptom

The Gantt Table is not properly redrawn or is grayed out when closing a third party window (for instance Windows Explorer) that is on top of your embedded Gantt for .NET control.


Moving the Gantt application to force a redraw solves the issue.

Cause

This issue occurrence is very low. It has been associated to the use of the BorderStyle.Fixed3D on the Gantt Table.

Resolving the problem

To avoid this issue, you need to change the BorderStyle being applied on the GanttTable

For instance:

table = ganttChart.GanttTable;
table.BorderStyle = BorderStyle.FixedSingle;

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM ILOG Gantt for .NET

Software version:

4.0

Operating system(s):

Windows

Reference #:

1613837

Modified date:

2012-10-15

Translate my page

Machine Translation

Content navigation