单击按钮,出现文本框 [英] Click button and text box appear's

查看:139
本文介绍了单击按钮,出现文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何,当我点击一个按钮时,会出现一个带有信息的文本框和一个开头的按钮吗?

Is there anyway possible that when i click on a button, a text box appears with info and a button saying begin?

推荐答案

绘制两个按钮(一个用于点击,一个用于显示) 和文本框。 对于要显示的按钮和文本框,请单击每个按钮,然后在属性面板中将visibility属性设置为折叠。 接下来,在州面板中创建一个州组和一个州。 在该状态下录制(查找红色录制栏)时,将按钮和文本框的可见性设置为可见。 关闭录音。 在传统的Blend项目中,在要点击的按钮上放置一个GoToState操作,以显示另一个按钮和文本框。 在"属性"面板中,选择刚刚创建的状态作为目标状态。 在SketchFlow项目中,您可以右键单击按钮并选择激活状态,然后选择您创建的状态。 当你运行时,点击按钮应该使文本框和按钮从折叠状态变为可见状态。 

Draw your two buttons (one for clicking, one to appear) and textbox.  For both the button and the textbox you want to have appear, click on each and set the visibility property in the properties panel to collapsed.  Next, create a state group and a state in the state panel.  While recording within that state (look for the red recording bar), set the visibility of both the button and textbox to be visible.  Turn off recording.  In a traditional Blend project, drop a GoToState action on the button you want to click to have the other button and textbox revealed.  In the properties panel, choose the state you just created as the target state.  In a SketchFlow project, you can right click on the button and choose Activate State followed by the state you created.  When you run, clicking on the button should make both the textbox and the button go from collapsed to visible. 

希望有所帮助,Kelly

Hope that helps, Kelly


这篇关于单击按钮,出现文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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