Creates a set of appearance settings, for various tips in the interface, with the specified values.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim backColor As Color
Dim foreColor As Color
Dim font As Font
Dim instance As New TipAppearance(backColor, foreColor, font) |
Parameters
- backColor
- Background color of text tips and cell notes (not scroll tips)
- foreColor
- Foreground (text) color for text tips, scroll tips, and cell notes
- font
Font of text for text tips, scroll tips, and cell notes
Remarks
Example
C# | Copy Code |
---|
private void fpSpread1_TextTipFetch(object sender, FarPoint.Win.Spread.TextTipFetchEventArgs e)
{
FarPoint.Win.Spread.TipAppearance ta = new FarPoint.Win.Spread.TipAppearance(Color.Yellow, Color.Red, new Font("Comic Sans
MS", 10));
FarPoint.Win.Spread.TipAppearance ta1 = new FarPoint.Win.Spread.TipAppearance();
ta1.CopyFrom(ta);
e.View.TextTipAppearance = ta1;
}
|
Visual Basic | Copy Code |
---|
Private Sub FpSpread1_TextTipFetch(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.TextTipFetchEventArgs) Handles FpSpread1.TextTipFetch
Dim ta As New FarPoint.Win.Spread.TipAppearance(Color.Yellow, Color.Red, New Font("Comic Sans MS", 10))
Dim ta1 As New FarPoint.Win.Spread.TipAppearance
ta1.CopyFrom(ta)
e.View.TextTipAppearance = ta1
End Sub
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also