10044 : StartValueResize


I’m trying to create an application using c# and your GTP.NET component. My problem is that I want to be able to cap the TimeItem dates to the nearest whole date. For this to work I want to set the modified dates when I receive an StopValueResize or StartValueResize event, but for some reason it wont work.



You can fix the change the e.Diff value. The diff is the amount of time the value will be changed with, if you set it to zero no change will be applied.

private void gantt1_OnTimeItem_StartValueResize(PlexityHide.GTP.Gantt aGantt, PlexityHide.GTP.TimeItemEventArgs e)

But from what you describe you probably should take a look at PlexityHide.GTP.TimeItemLayout.SnapStartTime… This might be what you are looking for…



Leave a Reply