GetSelection not working

Posted by: srvjith on 8 September 2017, 12:31 pm EST

  • Posted 8 September 2017, 12:31 pm EST

     

    Hi,


     


    I am facing a stange problem. 


    I am using fpSpread1 version  "2.5.2009.2005"


    and the GetSelection method always returns a range of 0 length.


    CellRange[] range = fpSpread1.ActiveSheet.GetSelections();


    I have selected a range of cells in the sheet.


     


    Any help?


     


    Thanks,


    Sar

  • Replied 8 September 2017, 12:31 pm EST

    Sar,


    What OperationMode do you have the Spread set? How are you selecting blocks in the Spread?

  • Replied 8 September 2017, 12:31 pm EST

    Hi,


    I have not set any operation mode.  I assume it should be normal by default.


    I am selecting a range of rows and columns from the UI (using mouse).


    Regards,


    Sar


     


     

  • Replied 8 September 2017, 12:31 pm EST

    Sar,


    I am not able to reproduce this issue. Could you post a small zipped project reproducing this issue for us to debug?

  • Replied 8 September 2017, 12:31 pm EST

    Hi,


     


    We have fixed the issue.   The FAR point DLLS were not returning the correct value due to an IO operation in oother part of the code which is totally unrelated.  We have removed the IO statement and it works fine.  Thanks for the help.


     


    Regards,
    Sar

Need extra support?

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

Learn More

Forum Channels