在InputBox中帮助新窗口 [英] Help with new window in InputBox

查看:64
本文介绍了在InputBox中帮助新窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,希望您能解决我创建我的程序的问题。

我想要的是当我按下按钮时,会出现一个InputBox,说写下您想要的食物然后按确定。我已经做到了这一点,但是我希望你按下确定后会出现一个新窗口,根据你写的食物之前会有一些信息,我会事先为每种食物提供的信息(不是很多食物,3 -4)。在出现的信息中,我也想在其中放一张图片。我该怎么做?这是我的代码:

Hello, hope you can help with a problem I have creating a program of mine.
What I want is when I press a button, an InputBox will appear stating "Write the food you want and press ok". I''ve done this, but I want that after you press OK a new window will appear and according what food you wrote before some info will come in it, info that I will have put beforehand for each food (not many foods, 3-4). And in the info that is appeared, I also want to put a picture in it. How am I gonna do that?Here''s my code:

展开 | 选择 | Wrap | 行号

推荐答案

当用户没有输入任何内容时会发生什么?


看起来您需要一个精选案例或if语句来告诉程序如何为每个找到的食物实例做些什么。特别是当盒子里没有任何东西时。你同意吗?


D?k?ll
What happens when the user does not enter anything?

It looks like you''ll need a select case or if statement to tell the program what to do for each instance of food found. Especially when nothing is added to box. Do you agree?

D?k?ll


你好久保。我看到你迫切需要代码。你能告诉我们为什么会这样吗?
Hi Kubo. I see that you need code urgently. Can you tell us why that is?


我得到了学校的项目,如果我成功,我的分数会很高。

另外,我不明白你对选择案例的意思。你能解释一下吗?还要放if声明我需要选择信息是什么。我写道:
Well I''ve been offered for a project at school, my marks will get really high if I succeed.
Also I don''t understand what you mean with the "select case". Can you explain it a little? Also to put the "if" statement I need to select what the Info is. I wrote:
展开 | 选择 | Wrap | 行号


这篇关于在InputBox中帮助新窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆