Android Question Edittext overwrite

davemorris

Active Member
Licensed User
Hi Guys

I know I am going to kick myself, but after working through the posts (and manuals) I can't find a method to put an EditText view into overwrite (i.e. replacing characters as you type instead of inserting at the current cursor position).

Can someone help (I am a c# man, so I am very guilty of using the wrong names to search your posts and then don't read whole post - absolutely unforgivable).

Kind regards
Dave
 

davemorris

Active Member
Licensed User
Hi udg
Thanks for the quick response - its good to see I have not missed much.

I did produce some code which using a combination of Selectstart and substring to edit the edittext view within its handler. However, some would say (and quite rightly so) it is bad practice to modify a field within a handler which, when changed, will re-trigger same event.

I was hoping for the same feature as we see in text editors where you can select between overwrite or insert.

Thanks again
Dave
 
Top