![]() |
|
GTP.NET FAQ 10614Is it possible to use a TimeItemStyle of User in GTP.WEB? Please note that this article
refers to the GTP.NET Jump to article- 2007-08-18 10:27:00 - Email plexityHide Question Is it possible to use a TimeItemStyle of 'User' in GTP.WEB? If so, how do we specify how to draw the item? Answer Yes. The Gantt_ASP uses the windows forms gantt for rendering. So implement the event found here: Gantt_ASP.Gantt.OnTimeItem_UserDraw This event can be implemented like this in c#: this .Gantt_ASP.Gantt.OnTimeItem_UserDraw += new PlexityHide.GTP.TimeItemEvent(this.impl_OnTimeItem_UserDraw);In VB.NET you use the AddHandler call to assign a delegate in runtime, like this: Add a method:
IMPORTANT: TimeItem.TimeItemLayout.TimeItemStyle must be set to User. Otherwise the user draw event is not called...
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |