Spread Windows Forms 12.0 Product Documentation
ScrollTipPolicy Property (FpSpread)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : ScrollTipPolicy Property
Gets or sets whether scroll tips appear when the user moves the scroll box in the component.
Public Property ScrollTipPolicy As ScrollTipPolicy
Dim instance As FpSpread
Dim value As ScrollTipPolicy
instance.ScrollTipPolicy = value
value = instance.ScrollTipPolicy
public ScrollTipPolicy ScrollTipPolicy {get; set;}

Property Value

ScrollTipPolicy setting that determines whether the Spread component displays the text tip when the user moves the scroll box

This property allows the user to see the row number (for vertical scrolling) or column number (for horizontal scrolling). By holding the pointer on the scroll bar, the number appears in a ToolTip window.

Here is a typical scroll bar tip with the row number displayed next to the vertical scroll bar:

Scroll bar tips are not displayed automatically by default.

Of course, the scroll bars must be displayed for the scroll bar tips to be displayed.

The appearance of the default scroll bar tips is determined by your system settings and other default settings. The appearance is also set by the TextTipAppearance property and the members of the TipAppearance class.

This example specifies several aspects of the scroll bars for the Spread component. Scroll bars appear larger than the default size. For scrolling horizontally, the spreadsheet scrolls as you move the scroll box; for scrolling vertically, the scroll bar tip shows the row number, but the spreadsheet does not scroll until you are done.
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.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both;
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.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both
See Also


FpSpread Class
FpSpread Members
TipAppearance Class
ScrollTipPolicy Enum

User-Task Documentation

Customizing the Scroll Bars