i have in my C# (WinForms) program TextBox control
if i have this text in:
abcd efg hijklmnop
and i stand with my cursor between
d = position 3
or i stand with my cursor between
i = position 10
how to get this position ?
thank’s in advance
Have you tried using
TextBox.SelectionStart that should have the current cursor position.