Type | Description | |||
Variant | A Safe array that includes the dates being selected. |
The following VB sample displays the selected dates:
Private Sub G2antt1_ChartEndChanging(ByVal Operation As EXG2ANTTLibCtl.BarOperationEnum) If (Operation = exSelectDate) Then Debug.Print "Selected" For Each d In G2antt1.Chart.SelectDates Debug.Print d Next End If End Sub
The following VB sample changes the collection of selected dates:
With G2antt1.Chart .SelectLevel = 1 .SelectDates = Array(#6/22/2005#, #6/23/2005#) End With