E
eva2002
Hi,
I am working on a textbox that only allows 2 inputs. "E" or "C" char
However I would like to append a few more letters from current
position after user enter the letters.
But I can't seems to work it out. Can someone help me?
Example of problem, <E will produce Each> <C will produce Char>
steps
1) user enter "E"
2) textbox will show Each
3) user enter "C" after the E. The textbox will show ECharach.
4) user enter C at the last position. Textbox will show ECharachEach.
I know I could use the Insert function. However I wasn't able to
obtain the <starting index> which is the current index of the cursor
(the horizontal flashing line)
I am working on a textbox that only allows 2 inputs. "E" or "C" char
However I would like to append a few more letters from current
position after user enter the letters.
But I can't seems to work it out. Can someone help me?
Example of problem, <E will produce Each> <C will produce Char>
steps
1) user enter "E"
2) textbox will show Each
3) user enter "C" after the E. The textbox will show ECharach.
4) user enter C at the last position. Textbox will show ECharachEach.
I know I could use the Insert function. However I wasn't able to
obtain the <starting index> which is the current index of the cursor
(the horizontal flashing line)