CrossHairsNotSelected

 

This event is generated whenever the user unselects the crosshairs toolbar button, or selects another toolbar button (see Toolbar).  Use this event to perform operations specific to whenever the crosshairs is no longer selected.

                                                                                                                                                                                                                                                                     

Example

'XYChartCtl1 is the name of the XY Chart control instance placed on the form

Private Sub XYChartCtl1_CrossHairsNotSelected()            

    XLabel.Visible = False    'Hide control used for x-coordinate of mouse cursor

    Y1Label.Visible = False   'Hide control used for y-coordinate of the first Y-axis

    Y2Label.Visible = False   'Hide control used for y-coordinate of the second Y-axis

    Y3Label.Visible = False   'Hide control used for y-coordinate of the third Y-axis

    Y4Label.Visible = False   'Hide control used for y-coordinate of the fourth Y-axis

    Y5Label.Visible = False   'Hide control used for y-coordinate of the fifth Y-axis

End Sub                                        

           

See Also

Events     CrossHairsSelected     CrossHairsMove     CrossHairsLeave