Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5549
convert this from an old gantt to infragistics ganttview
posted

hi, i  have the following code from my old application. it shows for our carfleet when a car is booked. this i wanna now convert to the infragistics gantt. some things working, but iam does'nt found some properties.
and i need also info ,how to hide or show the task columns on the left

Me.Gantt1.ClearSchedule
Me.Gantt1.TimeLines = True
Me.Gantt1.DateOffset = 2

'-- the first date the gantt starts with
Me.Gantt1.DateStart = dStartdatum
Me.Gantt1.DateEnd = dStartdatum + 30 'dEndedatum
Me.Gantt1.RulerFont = "Tahoma"
Me.Gantt1.RulerFont.Bold = True
Me.Gantt1.TitleFont.Bold = True

Me.Gantt1.TipsType = 2
Me.Gantt1.TipsDelay = 2


 intLoad = Gantt1.AddItem("CARID")

  dDatumtooltip = Startdatum & " " & startzeit & "->" & Endedatum & " " & Endezeit
        nBar = Me.Gantt1.AddTimeBar(intLoad, 0, 60 * 24, Startdatum), Endedatum))
        Me.Gantt1.BarReadOnly(intLoad, nBar) = True

        Me.Gantt1.BarText(intLoad, nBar) = Name & " -- " & dDatumtooltip
        Me.Gantt1.BarReadOnly(intLoad, nBar) = True
        Me.Gantt1.BarTimeStart(intLoad, nBar) = Hour(Startzeit)) * 60 '24
    
        Me.Gantt1.BarTimeEnd(intLoad, nBar) = Hour(Endezeit)) * 60 '24

Parents
No Data
Reply Children