ActiveReports 8
OnClick Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also