Re: [mono-android] Need to set cursor location in EditText control

2012-04-17 Thread Mike
Thanks for the reply Jon. I was a little confused yesterday and shouldn't have even mentioned getSelectionEnd. I found the method I need, SetSelection. I'm still puzzled as to why the special characters are causing the EditText to behave that way, but this workaround is doing the trick. --Mike -

Re: [mono-android] Need to set cursor location in EditText control

2012-04-16 Thread Jonathan Pryor
On Apr 16, 2012, at 5:17 PM, Mike wrote: > I have found a Java example using getSelectionEnd, but need a c# example > since I can't figure out the C# equivalent. The getSelectionEnd() method was mapped to the SelectionEnd property: http://androidapi.xamarin.com/?link=P:Android.Widget.Te

[mono-android] Need to set cursor location in EditText control

2012-04-16 Thread Mike
My first Android app. I have an EditText that is causing problems. If the user enters a special character (anything other than a letter) The backspace/delete key does not work, it freezes. I have tried to get around this by writing a piece of code to trap the delete key down event and delete the la