![]() |
|
GTP.NET FAQ 10885I have placed the horizontal scroll bar on the TimeItemArea and i want to scroll the TimeItemArea from the scroll bar. Please note that this article
refers to the GTP.NET Jump to article- 2007-04-28 16:38:00 - Email plexityHide Question I have placed the horizontal scroll bar on the TimeItemArea and i want to scroll the TimeItemArea from the scroll bar. How's this possible ?? Answer Drop a HScrollBar and a Gantt to your form, then implement these events: private void Form1_Load(object sender, EventArgs e) // Add a scrollbar to timeitemarea hScrollBar1.Parent=gantt1.TimeItemArea; private void gantt1_OnDateScalerScaleChangeEvent(object sender, EventArgs e) hScrollBar1.Value = (int)(hScrollBar1.Maximum * ts2.Ticks / ts1.Ticks); private void hScrollBar1_Scroll(object sender, ScrollEventArgs e)
|
"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 |