

| Type | Description | |||
| ID as Variant | A VARIANT expression that specifies the identifier of the Note to be removed. |
The following VB sample removes the note being double clicked:
Private Sub G2antt1_DblClick(Shift As Integer, X As Single, Y As Single)
With G2antt1
.BeginUpdate
Dim n As EXG2ANTTLibCtl.Note
Set n = .Chart.NoteFromPoint(-1, -1)
If Not n Is Nothing Then
.Chart.Notes.Remove n.ID
End If
.EndUpdate
End With
End Sub