ActiveReports Developer 7
OnClick Method
See Also 
GrapeCity.ActiveReports.Extensibility.v7 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Components Namespace > IReportItem Interface : OnClick Method

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.

Glossary Item Box

Wrapper for the OnClick event.

Syntax

Visual Basic (Declaration) 
Function OnClick( _
   ByVal reportItem As IReportItem, _
   ByVal xPosition As System.Integer, _
   ByVal yPosition As System.Integer, _
   ByVal imageMapId As System.String, _
   ByVal button As MouseButton _
) As ChangeResult
C# 
ChangeResult OnClick( 
   IReportItem reportItem,
   System.int xPosition,
   System.int yPosition,
   System.string imageMapId,
   MouseButton button
)

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