Replied 8 September 2017, 2:25 pm EST
Thanks for your responses.
As suggested by you, I already have hidden the header and then I have used the first Row/Column as a header.
I have read all the information about drag and drop existing in the Farpoint forum, but all this information was entered few years ago. So I am confused about the correct way to do that.
So, I really need a sample about drag and drop between cells.
I will perform the drag and drop operation only over the data area (because the header area is hidden) and I have used the first rows / columns as the header.
I want to drag a cell (a single cell, not a range of cells) and drop it in other area of the sheet.
The idea is:
Click the cell with the left buttom of the mouse and when I start to move the mouse, the drag operation must to start.
When the left buttom of the mouse is released, the source data must be placed in the target cell. (text and tag properties).
During the drag operation is in progres I always must to know about which cell is in pointer of the mouse. (I will do a few checks and possibly deny the drop).
When the mouse is released (the drop operation is started), I want to know the source cell as well as the target cell, because I must to perform some process (delete a column or row, add a column or row... etc).
I will appreciate so much if you can show me a sample.
Thanks in advance,