How to fetch Cursor index in datagridviewcell in VB.NET

195 Views Asked by At

I want cursor index from datagridviewcell.
example: Cell contains the text "ABCDE". In this AB|CDE consider pipe as a blinking cursor which can be changed with a mouseclick. so, I need cursor position.

Detail: I've made a small project in which on button click adds text to datagridviewcell. But I want to add text to a specific position in that cell before or after the text depends on the cursor placed with a mouse.

If there is any solution in which I can fetch all text from the right of cursor then I'll do the long way getting cursor position.

0

There are 0 best solutions below