How do I move textbox when screen keyboard appear?

Get help using Construct 2

Post » Tue Jun 21, 2016 9:09 am

I want to now how to move textbox up when screen keyboard on mobile appear or the layout move up so position textbox can be above from screen keyboard. and the player can see what text is typed
B
12
S
4
G
2
Posts: 10
Reputation: 1,812

Post » Tue Jun 21, 2016 9:26 am

Unfortunately there isn't events related to the virtual keyboard itself.

So I guess, you should consider making something like "On textbox touched" with the touch object to move the object itself.

I'd also try out to check when the textbox is focused/unfocused as shown in this example capx. That might be even better control over when the keyboard is supposed to be displayed and not.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Mon Jun 27, 2016 7:03 am

but how about with this link http://stackoverflow.com/questions/2857 ... n-phonegap , this is can solve with phonegap. maybe can be made with construct 2 and intel XDK. i have try it but i dont know how to place the code so my result is faild to build on intel xdk. maybe someone can make plugin "ionic keyboard", because intel support this plugin
B
12
S
4
G
2
Posts: 10
Reputation: 1,812

Post » Sun Nov 13, 2016 11:07 am

any news for this feature?
B
36
S
13
G
1
Posts: 88
Reputation: 3,101

Post » Sun Nov 13, 2016 1:22 pm

I had this problem in one of my games i'm working on. The textbox kept getting resized so small you couldn't see it.

When i get back to my laptop i'll try and grab a screenshot of the events.

The screen itself shrinks, allowing room for the keyboard, but the textbox stays large enough to see the text.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: David181 and 23 guests