Problem of the Selections

Posted by: sikivitas on 8 September 2017, 3:33 am EST

  • Posted 8 September 2017, 3:33 am EST

    <P>Hello everyone,
    I meet a problem and sincerely ask for your help.</P>
    <P>Current Proccesses: </P>
    <P>select a range of cells by mouse's left button  =>  show popup menu</P>
    <P>UsingEvent:       </P>
    <P> MouseDown        =>  MouseUp</P>
    <P>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.</P>
    <P>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, 3:33 am EST


    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, 3:33 am 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!

  • Replied 8 September 2017, 3:33 am 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