FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > PercentCellType Class : SetCalculatorText Method |
'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 )
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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10