Occurs when the user enters a cell.
Syntax
Event Data
The event handler receives an argument of type EnterCellEventArgs containing data related to this event. The following EnterCellEventArgs properties provide information specific to this event.
Property | Description |
---|
Column | Gets the column index of the cell being entered. |
Row | Gets the row index of the cell being entered. |
View | Gets the view that contains the cell being entered. |
Remarks
Example
This example raises the event.
C# | Copy Code |
---|
Label1.Text = "Click on a different cell to fire the EnterCell event";
private void fpSpread1_EnterCell(object sender, FarPoint.Win.Spread.EnterCellEventArgs e)
{
ListBox1.Items.Add("EnterCell event fired!");
} |
Visual Basic | Copy Code |
---|
Label1.Text = "Click on a different cell to fire the EnterCell event"
Private Sub FpSpread1_EnterCell(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EnterCellEventArgs) Handles FpSpread1.EnterCell
ListBox1.Items.Add("EnterCell event fired!")
End Sub
|
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also