Visual Basic (Declaration) | |
---|---|
Public Property ScrollTipPolicy As ScrollTipPolicy |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As FpSpread Dim value As ScrollTipPolicy instance.ScrollTipPolicy = value value = instance.ScrollTipPolicy |
C# | |
---|---|
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 boxThis 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.
C# | Copy Code |
---|---|
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; |
Visual Basic | Copy Code |
---|---|
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
FpSpread ClassFpSpread Members
TipAppearance Class
ScrollTipPolicy Enum