Notifications
Clear all

[Closed] Dot Net Gantt Chart test

 PEN

Check it out, it works, well it is getting there. Need to impliment in the full tool now but the idea is there.

http://www.paulneale.com/temp/dotNetGanttChart.mov

15 Replies

Damn, that’s cool, I was doing something similar but using the calendar control, is that a custom control you’ve wrote? I never heard of the gantchart control :\ Cheers.

Woo… Fancy

looks cool but i cant think of an immediate use for it. what are you using it for?

 eek

NLA editor im presuming

Just found this, http://www.codeproject.com/KB/webforms/EventCalendarControl.aspx maybe it can be of use to someone. Cheers.

Look nice
do you plan to add snap capability, I mean snapping on other one in different row ?

 PEN

Charles get the prize.

Thanks Artur, that looks interesting but I think that I would find my self fighting against the real purpose of it to make it do what I need.

I will be adding all sorts of features to it, snapping might be one of them. I will also draw into the bars and make them look pretty.

The solution I’m using it not a custom but instead lots of labels. I have a flowLayoutPanel that I’m placing a label in it for each row and then in that row I’m adding more labels. If any one has a faster cleaner way please let me know. Sounds messy having all the labels for the rows but it makes it really easy to manage and work with as I can click on a row and get event handlers and get all of the bars from the controls properties. I’m evening thinking that I will add grouping by taking a group of rows and placing them in another label. Each label can hold reference to the things that it controls via the tab property, I’m placing a struct of data in each one.

I tried using other controls with columns that would represent time but each time I tried to load 10000 frames (columns) into it Max would freeze. I need that many or more frames for the project this is for. The way that I’m doing it the width of a row represents time and I can scale that as I like. 1 pixel = 1 frame, 10 p=1f or even 1p=10f.

Please let me know if you have any better ideas.

1 Reply
 eek
(@eek)
Joined: 11 months ago

Posts: 0

Is the flowLayoutPanel thing a dotnet control? I’m new to this stuff.

Wow, that was some real simple solution, never thought of that, props to you Paul. Please let us know of the advances you make Cheers.

Yep .NET, pretty useful for creating dynamic interfaces as you can easily add and remove other controls to it, and the FLP takes care of organizing them.

“The FlowLayoutPanel control arranges its contents in a horizontal or vertical flow direction. You can wrap the control’s contents from one row to the next, or from one column to the next. Alternately, you can clip instead of wrap its contents.”

Page 1 / 2