MESCIUS SPREAD for ASP.NET 10.0J
数値セルにテンキーを表示

MESCIUS SPREAD for ASP.NET 10.0J > 開発者の手引き > セル型 > 編集可能なセル型 > 数値セルにテンキーを表示

通貨型セル、整数型セル、倍精度型セル、およびパーセント型セルには、テンキーを表示できます。セルからテンキーをドロップダウン表示して、数値を選択できます。

テンキーを表示するには、CurrencyCellTypeIntegerCellTypeDoubleCellType、またはPercentCellTypeクラスのShowPopupButtonプロパティを設定します。

サンプル

次のサンプルコードは、整数型セルにテンキーを表示します。

FarPoint.Web.Spread.IntegerCellType icell = new FarPoint.Web.Spread.IntegerCellType();
icell.ShowPopupButton = true;
FpSpread1.Sheets[0].Cells[1, 1].CellType = icell;
Dim icell as New FarPoint.Web.Spread.IntegerCellType()
icell.ShowPopupButton = True
FpSpread1.Sheets(0).Cells(1, 1).CellType = icell
関連トピック