Sets the text for the pop-up calculator.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As PercentCellType
Dim okText As String
Dim cancelText As String
instance.SetCalculatorText(okText, cancelText) |
Parameters
- okText
- Text for the OK button
- cancelText
- Text for the Cancel button
Example
This example sets the text for the buttons.
C# | Copy Code |
---|
FarPoint.Win.Spread.CellType.PercentCellType ctest = new FarPoint.Win.Spread.CellType.PercentCellType();
ctest.SetCalculatorText("Accept", "Cancel");
fpSpread1.Sheets[0].Cells[0, 0].CellType = ctest; |
Visual Basic | Copy Code |
---|
Dim ctest As New FarPoint.Win.Spread.CellType.PercentCellType
ctest.SetCalculatorText("Accept", "Cancel")
FpSpread1.Sheets(0).Cells(0, 0).CellType = ctest |
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