按钮保持按下按钮 [英] button stay down ather button click

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

问题描述

你好,
我希望按钮保持按下状态,直到单击另一个按钮为止.我该怎么做?

hello,
I want buttons to stay down until another button has been clicked. How would I do this?
there is someone who can help me with this problem?

推荐答案

您不对这些使用Button类.请改用CheckBoxes.您必须提供已选中和未选中的按钮图像,但这不应该太难.
You don''t use a Button class for those. Use CheckBoxes instead. You''ll have to supply button images for checked and unchecked, but that shouldn''t be too hard.


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

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