简体   繁体   English

Mit App Inventor 2 键盘自动弹出

[英]Mit App Inventor 2 keyboard pop up automatically

I am creating an application where I need that the keyboard pops up automatically without the need to click on the textbox in MIT APP INVENTOR 2.我正在创建一个应用程序,我需要键盘自动弹出,而无需单击 MIT APP INVENTOR 2 中的文本框。

I tried to focus on the textbox but it didn't work.我试图专注于文本框,但没有用。

I created a screen2 and added a text box named TextBox1.我创建了一个 screen2 并添加了一个名为 TextBox1 的文本框。 Then in the blocks I added When Screen2.Initialize => call TextBox1.RequestFocus procedure.然后在我添加的块中 When Screen2.Initialize => call TextBox1.RequestFocus 过程。 And it didn't work.它没有用。

First choose the textbox to write in and then set the focus to that textbox and the keyboard will appear automatically.首先选择要写入的文本框,然后将焦点设置在该文本框上,键盘将自动出现。 If don't you can try a actititystarter.如果没有,您可以尝试一个活动启动器。

Greetings!问候!

I found the solution and I am going to share it with you.我找到了解决方案,我将与您分享。

Just download the taifun tool extension and use it.只需下载taifun工具扩展并使用它。 Actually, it has the show keyboard option.实际上,它具有显示键盘选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM