Mouse Over Sheet Corner

Posted by: neil1-fp on 8 September 2017, 2:13 pm EST

  • Posted 8 September 2017, 2:13 pm EST


    Is there a way to tell if the mouse is over the sheet corner? I need something like "GetColumnHeaderCellFromPixel" that takes the mouse location X,Y. I am using this in a Drag/Drop operation and I can not tell if I am off the spread are on the Corner.



  • Replied 8 September 2017, 2:13 pm EST

    Hi Neil,

    To know whether the mouse is over SheetCorner or not, we can capture the Spread's MouseMove event and calling a function wherein we are using the RowHeader rectangle to calculate offsets to translate SheetCorner x and y values into either RowHeader or ColumnHeader coordinates so that a Row and Column can be calculated.

    Please check the attached sample for the same and share your observations with us.

    Hope this will help. Thanks.


Need extra support?

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

Learn More

Forum Channels