Occurs when the user clicks a cell using the left mouse button.
Syntax
Event Data
The event handler receives an argument of type SpreadCommandEventArgs containing data related to this event. The following SpreadCommandEventArgs properties provide information specific to this event.
Remarks
Example
This example illustrates the use of the event.
C# | Copy Code |
---|
FpSpread1.ActiveSheetView.AutoPostBack = true;
private void FpSpread1CellClick(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
{
TextBox1.Text = "You clicked in row " + e.CommandArgument.X + ", column " + e.CommandArgument.Y;
}
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheetView.AutoPostBack = True
Private Sub FpSpread1CellClick(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.SpreadCommandEventArgs) Handles FpSpread1.CellClick
TextBox1.Text = "You clicked in row " & e.CommandArgument.X & ", column " & e.CommandArgument.Y
End Sub |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also