Problem of the Selections

Posted by: sikivitas on 8 September 2017, 12:33 pm EST

  • Posted 8 September 2017, 12:33 pm EST

    Hello everyone,
     
    I meet a problem and sincerely ask for your help.


    Current Proccesses:


    select a range of cells by mouse's left button  =>  show popup menu


    UsingEvent:       


     MouseDown        =>  MouseUp


    When the event "MouseUp" happened in the "RowHeader" or "ColumnHeader" or "SheetCorner" range of the spread, with the menu popupping, if the mouse moves, the range of the selections changes.
    However, when the event "MouseUp" happened in the "cells" range of the spread, everything is ok.


    I can't figure out what the difference between this two and I'm wondering how could this happens.
    I tried to add "e.Cancel = True" in the "SelectionChanging" Event, but make no effect.
    Can anyone help me?

  • Replied 8 September 2017, 12:33 pm EST

    Hello,


    I was not able to reproduce this behavior. What release of Spread for Windows Forms are you using? If you have the latest 2.5.x009, could you post a small zipped project reproducing this behavior for us to debug?

  • Replied 8 September 2017, 12:33 pm EST

    Now, I'm using the Version "2.5.1005.2002" Spread, and the project is made using Microsoft Visual Basic .NET(Japanese). My system is "Windows XP(Japanese)".


    I updated an example of the problem, and the zip also contains the picture of the problem.


    Because the spread used seems also to be  in Japanese, I've no idea if you can run it. Anyway, please take a try.


    Sincerely Thank you!


    2007/05/Example.rar
  • Replied 8 September 2017, 12:33 pm EST

    Sorry, the Problem was resolved.


    The "e.Cancel = True" in the "SelectionChanging" Event did produce the effect.


    Thank you for your attention.

Need extra support?

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

Learn More

Forum Channels