与按钮可见性相关 [英] related to button visibility property

查看:175
本文介绍了与按钮可见性相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页中有三个按钮.如果我将其中两个按钮的visible属性设置为false,那么如果我单击不可见按钮的位置,按钮单击事件是否起作用?

There are three button in my web page.If I set visible property to false of two of them.Then If i clicked on the place of invisible button,does button clicked event will work ?

推荐答案

如果我单击不可见按钮的位置,按钮单击事件是否起作用
否.将可见性设置为false时,根本不会渲染该按钮.单击隐藏按钮的位置不会有任何影响.
hen If i clicked on the place of invisible button,does button clicked event will work
No. Once the visibility is set false, the button is not rendered at all. Clicking the location of the hidden button would have no affect.


这篇关于与按钮可见性相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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