Use UITextFields BecomeFirstResponder() method.

I.e.:

UITextField _textField = new UITextField();
_textField.BecomeFirstResponder();
View.AddSubview(_textField);

On Mon, Apr 23, 2012 at 2:24 PM, Miljenko Cvjetko
<[email protected]> wrote:
> Hi
>
> I have single edittext widget in activity layout and would like to show
> keyboard without
> user interaction when activity loads.
>
> This is what I have tried:
> editText1.RequestFocus();
> editText1.RequestFocusFromTouch() ;
> editText1.PerformClick();
>
> but keyboard shows (in emulator) only if user clicks/touches edittext
> control
>
> thanks + regards
>
> mel
>
> --
> Miljenko Cvjetko dipl.ing. ET
>        Direktor/CEO
>        Projektant rješenja/Solution Architect
>        Razvojni programer/Senior developer
>        Voditelj projekta/Project Manager
>
> IX južna obala 13
> Kajzerica Zagreb
> T: 385 1 7775555
> M: 385 91 557 447 3
> F: 385 1 7779556
> e: [email protected]
> w: http://www.holisticware.net
>
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to