Spread Windows Forms 8.0 Product Documentation
TextTipDelay Property (FpSpread)
Example 


Gets or sets the time (in milliseconds) the component waits before displaying the text tip for the cell or header under the pointer.
Syntax
'Declaration
 
Public Property TextTipDelay As Integer
'Usage
 
Dim instance As FpSpread
Dim value As Integer
 
instance.TextTipDelay = value
 
value = instance.TextTipDelay
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.
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);
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpSpread Class
FpSpread Members
TextTipPolicy Property
TextTipPolicy Enumeration
TextTipDelay Property (in SpreadView)

User-Task Documentation

Displaying Text Tips

 

 


Copyright © GrapeCity, inc. All rights reserved.