//ToolTip 초기화
FarPoint.Win.Spread.TipAppearance app = new FarPoint.Win.Spread.TipAppearance();
app.BackColor = Color.Yellow;
app.Font = new Font("Comic Sans MS", 10);
app.ForeColor = Color.Red;
sprList.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating;
sprList.TextTipAppearance = app;
private void sprList_TextTipFetch(object sender, FarPoint.Win.Spread.TextTipFetchEventArgs e)
{
if (e.RowHeader == false && e.ColumnHeader == false)
{
switch (e.Column)
{
case 0:
e.ShowTip = true;
e.TipText = "툴팁 메세지";
break;
default:
e.ShowTip = true;
e.TipText = "";
break;
}
}
}
TextTipFetch 보이는 형식
spread designer > behavior
TextTipPolicy >
Floating ( 마우스 오버시 보이기 )
**FocusOnly ( 포커스가 왔을때 보이기 )
TextTipPolicy >
Floating ( 마우스 오버시 보이기 )
**FocusOnly ( 포커스가 왔을때 보이기 )
'Web_Application > C#' 카테고리의 다른 글
[fpspread][c#] vb CopyRowRange -> c#CopyRange (0) | 2018.11.19 |
---|---|
[fpspread][c#] spread lock (0) | 2018.11.19 |
[fpspread][c#] horizontalScrollBar Left align (0) | 2018.11.06 |
[fpspread][c#] HeaderColumns, Columns Border 라인 넣기 (0) | 2018.11.05 |
[fpspread][c#] cell border style (0) | 2018.09.11 |