gms_show_toggle_keyboard

Usage: gms_show_toggle_keyboard ( enable )

Description

Toggles whether the on-screen keyboard will be shown automatically when the user clicks on a text field.

Replies (3)

Last message on 26 Sep 2016

mpgame on 25 Sep 2016, 12:00:58
dear size! how to hide the keyboard after clicking the "Cancel" button in login or register part??? (hiding automatic is my purpose... no clicking the rightmost-down button in keyboard for hiding)
but a way is calling pressing rightmost-down button after clicking "Cancel" button but I do not know how!
mpgame on 25 Sep 2016, 12:50:48
size! I found a strange way! :)
We can set "gms_show_set_position (0,0,room_width,room_length)" when we clicked the "Cancel" button! and set it again to initial value when login or register was shown!! :)
Size43 (Administrator) on 26 Sep 2016, 20:07:56
Not sure why that works. Alternatively, you could also use

global.__xkb_open = false


to hide the keyboard.