Spread Windows Forms 12.0 Product Documentation
TextTipPolicy Property (SpreadView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : TextTipPolicy Property
Gets or sets whether to display text tips and the location of the tips in the view.
Syntax
'Declaration
 
Public Property TextTipPolicy As TextTipPolicy
'Usage
 
Dim instance As SpreadView
Dim value As TextTipPolicy
 
instance.TextTipPolicy = value
 
value = instance.TextTipPolicy
public TextTipPolicy TextTipPolicy {get; set;}

Property Value

TextTipPolicy setting that specifies the display of the text tip
Remarks

This property lets you set the text tip policy, how and if the text tips are displayed when the pointer is over header cells or data cells that have text too long to appear in the cell. If the policy is set to display the text tips, a text tip is displayed in a ToolTip window for the cell under the pointer. This applies for cells in the data area as well as header cells. You can set whether to display the text tip anchored to the cell or to the pointer location. You can display it only when the Spread component has focus or regardless of focus. This also affects the display of cell notes when the cursor is over the cell note indicator.

Text tips are not displayed automatically for headers and cells.

The Spread component displays the text tip after the pointer is positioned over the cell a set amount of time (500 milliseconds by default). To change the delay, refer to the TextTipDelay property. The appearance of the default text tips is determined by your system settings and some other default settings. You can customize the appearance using the TextTipAppearance property.

Here is what a text tip might look like floating next to a pointer:

Example
This example sets the TextTipPolicy property.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.TextTipDelay = 1000;
sv.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Fixed;
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.TextTipDelay = 1000
sv.TextTipPolicy = FarPoint.Win.Spread.TextTipPolicy.Fixed
See Also

Reference

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

User-Task Documentation

Displaying Text Tips