Page 1 of 1

Setting a Gantt Start End values to Grid Snap

Posted: Thu Sep 27, 2007 4:35 pm
by 9345379
I am using a Gantt series in a different way.
I display up to 32 gantts in a series to represent scale weight ranges.

I now want the user to be able change the start and end values (min & max) of each gantt using the gantt tool and to recover these values for each individual gantt. I know how to access the values.

My request is to set an a snap value increment as they drag the gantt horizontally.

I would like to be able to define the snap range at run time.

For example -
The plant operates in pounds and would only change the weight ranges in .25 increments. I would like to be able to pull the ends of the Gantt and have it change in .25 increments.

Is this possible?
Can I catch an event as the Gantt value is changing?

Thanks

Posted: Fri Sep 28, 2007 8:39 am
by narcis
Hi Gainco,

Yes, you can try using TGanntTool's OnResizeBar event.