FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : ScrollTipPolicy Property |
'Declaration Public Property ScrollTipPolicy As ScrollTipPolicy
'Usage Dim instance As FpSpread Dim value As ScrollTipPolicy instance.ScrollTipPolicy = value value = instance.ScrollTipPolicy
public ScrollTipPolicy ScrollTipPolicy {get; set;}
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.
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.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 Controls.Add(fpSpread1) fpSpread1.Sheets.Add(shv) fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
FpSpread Class
FpSpread Members
TipAppearance Class
ScrollTipPolicy Enum