英文:
I can't find When Web1.GotText block in app inventor 2
问题
以下是您要翻译的内容:
Code I need to build

我需要构建的代码如图所示,但是在我的代码区域中找不到黄色的块,有人可以告诉我如何找到吗?
我尝试过访问 Web1 区块,但找不到它,也许我需要创建一个函数或其他内容。
英文:
Code I need to build

The picture is the code Im following but I can't find the yellow block in my block area can anyone tell me how to?
I tried going to the Web1 blocks but I was unable to find it, maybe I have to make a function or something else
答案1
得分: 1
First, the Web component needs to be on the app screen. If it isn't, then the following steps need to be taken:
- 确保您处于
Designer视图。 - 打开
Palette中的Connectivity部分(位于屏幕左侧)。 - 将
Web组件拖动到屏幕预览内(手机框架内的任何位置)。
接下来打开Blocks视图。在左侧的块部分下,选择Web1组件。应该会出现一个菜单,列出内置块。When Web1.GotText块应该在菜单的顶部。(下面是一个示例图片)
注意:块菜单会滚动到您上次打开它时的位置。
英文:
First, the Web component needs to be on the app screen. If it isn't, then the following steps need to be taken:
- Make sure you are on the
Designerview. - Open the
Connectivitysection in thePalette(on the left side of the screen). - Drag the
Webcomponent anywhere onto the screen preview (inside the phone frame).
Next open the Blocks view. On the left under the blocks section select the Web1 component. A menu should appear listing the built-in blocks. The When Web1.GotText block should be at the top of the menu. (An example image is below)
Note: The blocks menu is scrolled to where you were when you last had it open.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论