Notifications
Clear all

[Closed] Dot Net Gantt Chart test

great stuff, as always Paul.

Only other NLA editor i’ve seen is Kees’s Clip Editor in Puppetshop, but a reckon that is probably not accessible to Maxscript (please correct me if im wrong)

I use the flowlayout panel all the time, i love it! its just a great way of providing resizable logic without having to worry about coding it. I use it on most of my current pipeline scripts based on DotNet.

One thought Paul was that if you are sure about having the horizontal layout of the control you are using, you might want to try a similar control – the tablelayoutpanel. You can split into rows and each row cell could contain a track of the the label objects and is completely separate and would function much like a layered track editor. If you were thinking of using the resizing properties of these controls, each row would stay intact without risking the label rolling over into the same row as another. Probably a moot point as it wouldnt happen but i thought id mention it anyway.

 PEN

That is a good thought Pete, I will look into it. What is easy about this is when I want to hide a row I can do just that or remove it all together and move the others up. I will need this as it will be tied to a treeView control as well.

Charles, this is entirely dotnet other then the createDialog that I’m displaying it in. I could have used a form or MaxForm instead but I needed to test this in a createDialog as that is the way that final tool is being developed as I need to display rollouts as well.

hi paul, hiding tracks should be possible with the tablelayout control too – you can set the row cell height to 0, and the others will all resize accordingly (unless you lock their heights of course!)

 PEN

Sounds good but I need the height of each row to be locked so that it will remain sync’d up with the treeView. I will have a look and see if it will make my life easier.

I’ve used the tableLayout control too, and it’s really nice. The only downside of setting a row’s height to zero in order to hide it, is that you end up with a double thick border between the rows above and below it. Not a huge deal, but if your as obsessive about how things look as I am, then it would be a consideration.

Page 2 / 2