FarPoint.Web.Spread 名前空間 > ButtonCellType クラス : OnClientClick プロパティ |
FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType(); btn.OnClientClick = "alert(\'You clicked the button\');"; FpSpread1.ActiveSheetView.Cells[1, 1].CellType = btn;
Dim btn As New FarPoint.Web.Spread.ButtonCellType btn.OnClientClick = "alert('You clicked the button');" FpSpread1.ActiveSheetView.Cells(1, 1).CellType = btn