Thank you, Paul Banach.
I write the following in 'on press' slot of the text editor to clear the text when user touches it.
TextEditor.Text.String="";
TextEditor.caretIndex=0;
When I write this as last two statements in 'on press' slot, then the cursor become a dot and blink at the corner of the text editor.
If I add a space like the following, then cursor will blink as the normal size. But I don't want to add a space as I'm counting number of characters in text editor.
TextEditor.Text.String=" ";
TextEditor.caretIndex=0;
Could you please suggest me a way to get this task to be done?
Regards,
Thanushiyah