ActiveReports 12
OnClick Method

GrapeCity.ActiveReports.Extensibility.v12 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Components Namespace > IReportItem Interface : OnClick Method
The report item clicked.
The x position of the click.
The y position of the click.
The image map ID.
The button that was clicked.
The wrapper for the OnClick event.
Syntax
'Declaration
 
Function OnClick( _
   ByVal reportItem As IReportItem, _
   ByVal xPosition As Integer, _
   ByVal yPosition As Integer, _
   ByVal imageMapId As String, _
   ByVal button As MouseButton _
) As ChangeResult

Parameters

reportItem
The report item clicked.
xPosition
The x position of the click.
yPosition
The y position of the click.
imageMapId
The image map ID.
button
The button that was clicked.

Return Value

The change result of the button click.
See Also

Reference

IReportItem Interface
IReportItem Members