作成日: 2017/04/04 最終更新日: 2017/04/04
文書種別
使用方法
詳細
テキスト型セルのShowEditor プロパティをTrueに設定することで、セル上にテキストボックスが常に表示されます。
◎サンプルコード(VB)
◎サンプルコード(C#)
◎サンプルコード(VB)
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack Then
Return
End If
Dim tx As New FarPoint.Web.Spread.TextCellType
tx.ShowEditor = True
FpSpread1.ActiveSheetView.Columns(0).CellType = tx
End Sub
If Page.IsPostBack Then
Return
End If
Dim tx As New FarPoint.Web.Spread.TextCellType
tx.ShowEditor = True
FpSpread1.ActiveSheetView.Columns(0).CellType = tx
End Sub
◎サンプルコード(C#)
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
return;
}
FarPoint.Web.Spread.TextCellType tx = new FarPoint.Web.Spread.TextCellType();
tx.ShowEditor = true;
FpSpread1.ActiveSheetView.Columns[0].CellType = tx;
}
{
if (Page.IsPostBack)
{
return;
}
FarPoint.Web.Spread.TextCellType tx = new FarPoint.Web.Spread.TextCellType();
tx.ShowEditor = true;
FpSpread1.ActiveSheetView.Columns[0].CellType = tx;
}
旧文書番号
40272