Wednesday, April 21, 2010
Stealing the scrollbar
If you want to have the scrollbar to the right of the time item area, you can achieve with very little effort.
In this samples I added some panels and gave them color so that they would be visible. The yellow panel to the right is were I want my scrollbar.
And the code that does the trick:
Nice idea, but I did it without pannel and resize...
Gantt.Grid.ScrollbarNodes.Parent = Gantt.TimeItemArea;
Gantt.Grid.ScrollbarNodes.Dock = DockStyle.Right;
Subscribe to Post Comments [Atom]
Subscribe to Posts [Atom]