Hi,
I'm using the TextArea to enter multi-line text. I want to automatically replace characters in the inputted text.
As an example, I want to change the 'enter' character chr(13) with the text string "<CR>"
I can't use the TextChanged event below, because the application will loop forever. Also , the TextArea does not have an 'Action' event. TextField is not allowing multi-lines. How can I solve this ?
Sub TextAreaInput_TextChanged (Old As String, New As String)
TextAreaInput.Text = TextAreaInput.Text.Replace (Chr(13) , "<CR>")
End Sub
thanks,
Johan
I'm using the TextArea to enter multi-line text. I want to automatically replace characters in the inputted text.
As an example, I want to change the 'enter' character chr(13) with the text string "<CR>"
I can't use the TextChanged event below, because the application will loop forever. Also , the TextArea does not have an 'Action' event. TextField is not allowing multi-lines. How can I solve this ?
Sub TextAreaInput_TextChanged (Old As String, New As String)
TextAreaInput.Text = TextAreaInput.Text.Replace (Chr(13) , "<CR>")
End Sub
thanks,
Johan