Posted 11 September 2018, 3:25 am EST
Hello,
TopChange Event is associated with FpSpread instance. With top change event you can get the information about index of the new top row, index of the previous top row and index of the viewport row in which the change occurred(e.RowViewportIndex).
The event is happening for the current Spread view, you can get SpreadView with GetSpreadView method. This method looks as below:
Dim instance As SpreadView
Dim sheetView As SheetView
Dim rowViewportIndex As Integer
Dim columnViewportIndex As Integer
Dim value As SpreadView
value = instance.GetSpreadView(sheetView, rowViewportIndex, columnViewportIndex
P.S: Please post your Spread for Windows Forms related queries here:
https://www.grapecity.com/en/forums/spread-winforms
Thanks,
Deepak Sharma