Occurs when the user types a formula.
Syntax
Event Data
The event handler receives an argument of type UserFormulaEnteredEventArgs containing data related to this event. The following UserFormulaEnteredEventArgs properties provide information specific to this event.
Property | Description |
---|
Column | Gets the column index of the cell in which user entered a formula. |
Row | Gets the row index of the cell in which user entered a formula. |
View | Gets the main view in which the user entered a formula. |
Remarks
Example
This example raises the UserFormula event.
C# | Copy Code |
---|
private void fpSpread1_UserFormulaEntered(object sender, FarPoint.Win.Spread.UserFormulaEnteredEventArgs e)
{
MessageBox.Show("The formulas is entered in cell " + e.Row + " ," + e.Column, "UserFormulaEntered", MessageBoxButtons.OK);
} |
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_UserFormulaEntered(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.UserFormulaEnteredEventArgs)
Handles FpSpread1.UserFormulaEntered
MessageBox.Show("The formulas is entered in cell " & e.Row & " ," & e.Column, "UserFormulaEntered", MessageBoxButtons.OK)
End Sub
|
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