Gets or sets the time (in milliseconds) the component waits before displaying the text tip for the cell or header under the pointer.
Syntax
Visual Basic (Declaration) | |
---|
Public Property TextTipDelay As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpSpread
Dim value As Integer
instance.TextTipDelay = value
value = instance.TextTipDelay |
C# | |
---|
public int TextTipDelay {get; set;} |
Property Value
Integer number of milliseconds to delay before displaying text tip
Example
This example sets whether to display text tips, the location of the tips, and how long to wait before the text tip is shown.
C# | Copy Code |
---|
FarPoint.Win.Spread.FpSpread fpSpread1 = new FarPoint.Win.Spread.FpSpread();
FarPoint.Win.Spread.SheetView shv = new FarPoint.Win.Spread.SheetView();
fpSpread1.Location = new Point(10, 10);
fpSpread1.Height = 200;
fpSpread1.Width = 400;
Controls.Add(fpSpread1);
fpSpread1.Sheets.Add(shv);
fpSpread1.ActiveSheet.SetValue(0, 0, "TestTextTip");
fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating;
fpSpread1.TextTipDelay = 1000;
MessageBox.Show("Place the pointer over the text to see the text tip.", "", MessageBoxButtons.OK);
|
Visual Basic | Copy Code |
---|
Dim fpSpread1 As New FarPoint.Win.Spread.FpSpread()
Dim shv As New FarPoint.Win.Spread.SheetView()
fpSpread1.Location = New Point(10, 10)
fpSpread1.Height = 200
fpSpread1.Width = 400
Controls.Add(fpSpread1)
fpSpread1.Sheets.Add(shv)
fpSpread1.ActiveSheet.SetValue(0, 0, "TestTextTip")
fpSpread1.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Floating
fpSpread1.TextTipDelay = 1000
MessageBox.Show("Place the pointer over the text to see the text tip.", "", MessageBoxButtons.OK) |
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