Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / TextTipDelay Property

In This Topic
    TextTipDelay Property (FpSpread)
    In This Topic
    Gets or sets the time (in milliseconds) the component waits before displaying the text tip for the cell or header under the pointer.
    Public Property TextTipDelay As Integer
    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
    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;
    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
    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)
    See Also