作成日: 2017/06/15 最終更新日: 2017/06/15
文書種別
使用方法
詳細
ハイパーリンク型セルのToolTipプロパティにて、マウスポインタがリンクの上に置かれたときに任意のテキストを表示することができます。
◎サンプルコード(VB)
◎サンプルコード(C#)
◎サンプルコード(VB)
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If IsPostBack Then
Return
End If
Dim hl As New FarPoint.Web.Spread.HyperLinkCellType
hl.NavigateUrl = "http://www.grapecity.com/tools/"
hl.ToolTip = "リンク先へ移動します"
FpSpread1.ActiveSheetView.Cells(1, 1).CellType = hl
End Sub
If IsPostBack Then
Return
End If
Dim hl As New FarPoint.Web.Spread.HyperLinkCellType
hl.NavigateUrl = "http://www.grapecity.com/tools/"
hl.ToolTip = "リンク先へ移動します"
FpSpread1.ActiveSheetView.Cells(1, 1).CellType = hl
End Sub
◎サンプルコード(C#)
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
{
return;
}
FarPoint.Web.Spread.HyperLinkCellType hl = new FarPoint.Web.Spread.HyperLinkCellType();
hl.NavigateUrl = "http://www.grapecity.com/tools/";
hl.ToolTip = "リンク先へ移動します";
FpSpread1.ActiveSheetView.Cells[1, 1].CellType = hl;
}
{
if (IsPostBack)
{
return;
}
FarPoint.Web.Spread.HyperLinkCellType hl = new FarPoint.Web.Spread.HyperLinkCellType();
hl.NavigateUrl = "http://www.grapecity.com/tools/";
hl.ToolTip = "リンク先へ移動します";
FpSpread1.ActiveSheetView.Cells[1, 1].CellType = hl;
}
旧文書番号
40403