FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SpreadView クラス : SetCursor メソッド |
'Declaration Public Sub SetCursor( _ ByVal index As CursorType, _ ByVal cursor As Cursor _ )
'使用法 Dim instance As SpreadView Dim index As CursorType Dim cursor As Cursor instance.SetCursor(index, cursor)
public void SetCursor( CursorType index, Cursor cursor )
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)