Spread Windows Forms 12.0 Product Documentation
SetCalculatorText Method (PercentCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > PercentCellType Class : SetCalculatorText Method
Text for the OK button
Text for the Cancel button
Sets the text for the pop-up calculator.
Syntax
'Declaration
 
Public Sub SetCalculatorText( _
   ByVal okText As String, _
   ByVal cancelText As String _
) 
'Usage
 
Dim instance As PercentCellType
Dim okText As String
Dim cancelText As String
 
instance.SetCalculatorText(okText, cancelText)
public void SetCalculatorText( 
   string okText,
   string cancelText
)

Parameters

okText
Text for the OK button
cancelText
Text for the Cancel button
Example
This example sets the text for the buttons.
FarPoint.Win.Spread.CellType.PercentCellType ctest = new FarPoint.Win.Spread.CellType.PercentCellType();
ctest.SetCalculatorText("Accept", "Cancel");
fpSpread1.Sheets[0].Cells[0, 0].CellType = ctest;
Dim ctest As New FarPoint.Win.Spread.CellType.PercentCellType
ctest.SetCalculatorText("Accept", "Cancel")
FpSpread1.Sheets(0).Cells(0, 0).CellType = ctest
See Also

Reference

PercentCellType Class
PercentCellType Members