

| Type | Description | |||
| Date | A Date expression that determines the date-time from the current cursor location. |
The following sample displays a message box with the date being clicked, once the user right-clicks the control:
Private Sub G2Host1_Context()
With G2Host1
If (.HostContext.HitTest And exHTValidDate) Then
MsgBox .HostContext.Date
End If
End With
End Sub
The message box occurs only if clicking the chart section of the control.