Touch object and text boxes in windows phone

  • Link to .capx file (required! If link is blocked remove the http and www parts):

    edfarias.com/highscore/highscore.capx

    Steps to reproduce:

    1. Port to windows Phone and tap on text box. The keyboard will come up.

    2. Add a touch object into the .capx.

    3. Re-port to Windows Phone.

    4. Tap text box.

    Observed result:

    Keyboard doesn't come up.

    Expected result:

    Keyboard comes up.

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: yes

    Operating system & service pack: Lumia 920

    Construct 2 version: I upgraded to the latest rs last week.

    I can get around this problem by setting:

    on textbox touched: textbox->setfocus().

    Unfortunately this is even worse, because it holds onto the 0th touch and never lets it go. Even after I call unsetfocus().

  • Related issue, the text font size in the text box is tiny. It doesn't conform to the css style set in Construct 2.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I believe somewhere I read that the form controls in C2 do not work with windows phone. You especially don't need button at all as you can simply draw your sprite and add the touch/click actions to it.

  • Once again, you are confused by my ask. Man, my English must be really bad.

    The textbox works on Windows Phone. But when a touch object is added to the capx then it stops working.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)