Example: VcrButtonPressed event
Every time an operator clicks a VCR button on a trend chart, this code updates a text field with a new start date and time and the button pressed.
Private Sub Trend1_VcrButtonPressed(ByVal NewStartDateTime As Date, _ ByVal ButtonPressed As rstrendX.rstvcrButtonPressed) Text1.Text = "VCR Button: " & NewStartDateTime & _ "Button: " & ButtonPressed End Sub
Provide Feedback