Hi all,
i’m tring to show a user popup just below a DataGridView row for a quick edit (i need to do some quick work that a simple cell edit cannot do).
Some issue that i have encountered:
Thanks for any help.
Hi Simone,
Right click not fired for MouseClicks in a DGV is a bug (logged as #1803).
Will be fixed in the next release.
As a workaround you can use MouseUp or MouseDown events.
Both work fine with the right button.
For the coordinates, they are relative to the control (in that case the datagrid,
or to a cell in case of a CellEvent).
You´ve probably mixed them with the browser coordinates which are relative to the page.
Please use conversion functions like PointToScreen, RectangleToScreen, PointToClient, RectangleToClient
to convert from client to screen and vice versa.
The using block you have commented in your code as a question fails because the component is disposed
after leaving the block.
Best regards
Frank
Hi Simone,
#1803 is fixed in releases 1.5.56 / 2.0.13.
Best regards
Frank
Hi Frank,
thank you, all make sense.
Work perfectly with PointToScreen!
Please login first to submit.