FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetCursor Method |
'Declaration Public Function GetCursor( _ ByVal index As CursorType _ ) As Cursor
'Usage Dim instance As SpreadView Dim index As CursorType Dim value As Cursor value = instance.GetCursor(index)
public Cursor GetCursor( CursorType index )
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook(); Cursor c; sv.SetCursor(FarPoint.Win.Spread.CursorType.ColumnHeader, new System.Windows.Forms.Cursor("..\\..\\colhdr.cur")); c = sv.GetCursor(FarPoint.Win.Spread.CursorType.ColumnHeader); sv.SetCursor(FarPoint.Win.Spread.CursorType.Corner, c);
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook Dim c As Cursor sv.SetCursor(FarPoint.Win.Spread.CursorType.ColumnHeader, New System.Windows.Forms.Cursor("..\colhdr.cur")) c = sv.GetCursor(FarPoint.Win.Spread.CursorType.ColumnHeader) sv.SetCursor(FarPoint.Win.Spread.CursorType.Corner, c)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10
SpreadView Class
SpreadView Members
SetCursor Method
CursorType Enumeration