Hot to set the focus to a TextField (or other View)?

About Monkey 2 Forums Monkey 2 Programming Help Hot to set the focus to a TextField (or other View)?

Tagged: , , ,

This topic contains 3 replies, has 2 voices, and was last updated by  Ratchet 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8867

    Ratchet
    Participant

    How can I “active” or set the focus to a View. I want to set the focus to a TextView for user input.

    How to do that?

    #8868

    Mark Sibly
    Keymaster

    textView.MakeKeyView()

    Have a look in the modules/mojox/tests folder for some mojox examples.

    #8869

    Mark Sibly
    Keymaster

    textView.MakeKeyView()

    Have a look in the modules/mojox/tests folder for some mojox examples.

    #8873

    Ratchet
    Participant

    Thanks, works great. I always searched for “focus” or “active” or stuff like that 😀

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.