LargeChange Problem

Posted by: hglim94 on 8 September 2017, 1:38 pm EST

  • Posted 8 September 2017, 1:38 pm EST

    Hello?


    I'm using spread for windows forms 4.0.3505.2008 and I have a 'Large Change' problem.


    I know that this is a spread bug(#22890) and this is going to be fixed in next maintenance release.


    These are my questions.


    #1. I want to know when next maintenance version is realeased.


    #2. I can fix this problem using ShowCell method but I can't fix when spread is a hierachy.
        How can I fix this problem when I use hierachy?


    Thank you.

  • Replied 8 September 2017, 1:38 pm EST

    #1)  It should be out in a few weeks.

    #2)  You should be able to use the ShowCell on the hierarchy...

    Dim sv As FarPoint.Win.Spread.SheetView

    'Get's the child sheet for row 0, relation index 0 of the main Spread
    sv = FpSpread1.Sheets(0).GetChildView(0, 0)
    sv.SetActiveCell(3, 2)
    FpSpread1.GetRootWorkbook.GetSpreadView(sv, 0, 0).ShowCell(0, 0, 0, 0, FarPoint.Win.Spread.VerticalPosition.Top, FarPoint.Win.Spread.HorizontalPosition.Left)

    or...

    Private Sub FpSpread1_ChildViewCreated(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ChildViewCreatedEventArgs) Handles FpSpread1.ChildViewCreated
    FpSpread1.GetRootWorkbook.GetSpreadView(e.SheetView, 0, 0).ShowCell(0, 0, 0, 0, FarPoint.Win.Spread.VerticalPosition.Top, FarPoint.Win.Spread.HorizontalPosition.Left)
    End Sub

  • Replied 8 September 2017, 1:38 pm EST

    Thank you for your reply.


      But I could't fix the problem.


     The error occurs when I move scroll bar to the bottom and re-binding dataset which is nothing.


     Could you suggest other solutions?


     


    Thank you.

  • Replied 8 September 2017, 1:38 pm EST

    You will have to wait for the maintenance release if the code I gave you doesn't fix the issue.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels