Gets the event number of the trend at a percentage along the trend, using the current event as the base point. This function only operates on an event-based trend. The first recorded event (the start event) would be event number 1 and the highest number would be the latest event. The event number is stored in a LONG and would eventually wrap around if you have enough events.
TrnGetEvent(AN, Pen, Percent)
The AN of the chosen trend.
The trend pen number:
0 - The pen currently in focus
1...8 - Pen1. . .Pen8
The percentage of the trend from the starting event, from 0 (the start event) to 100 (the end event).
The event number.
TrnSetEvent, TrnGetCluster, TrnGetCursorEvent
/* Display the start event for the current pen of the trend at AN20. */