How can I insert a backspace into a text box, similar to CRLF?
e.g.
txt.text=txt.text & CRLF <---- needing to be a backspace etc...
The reason im asking is that the text box seems to add and CR when i press enter but i want the cursor to go the the very end of the text, which it doesn't
The output is :-
>
>
|
which is wrong it should be:-
>
>|
e.g.
txt.text=txt.text & CRLF <---- needing to be a backspace etc...
The reason im asking is that the text box seems to add and CR when i press enter but i want the cursor to go the the very end of the text, which it doesn't
Sub TxtCon_KeyPress (key)
If key=Chr(13) Then
txtcon.Text=txtcon.Text & CRLF & ">"
txtcon.SelectionStart=StrLength(txtcon.Text)-1 <--- this should go back but it doesnt, im not sure why.
txtcon.ScrollToCaret
End If
The output is :-
>
>
|
which is wrong it should be:-
>
>|
Last edited: