Skip to main content

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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM ILOG Gantt for .NET


Software version:
4.0


Operating system(s):
Windows


Reference #:
1613837


Modified date:
2012-10-15

Translate my page

Content navigation