设计自定义控制工具 [英] Designing custom control tool

查看:57
本文介绍了设计自定义控制工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想设计一个外观类似于旋钮的自定义控制工具.旋钮应具有ON和OFF状态(即,在左右旋转时)以及一些属性.谁能帮助我.

在此先感谢:)

HI all,

I want to design a custom control tool which should look similar to a knob. the knob should have an ON and OFF states (i.e while turning either sides) along with some properties. Can anyone help me in that.

Thanks in advance :)

推荐答案

两个(或更多)图像.按下鼠标时,检查控件的左侧还是右侧,并适当地打开/关闭状态和图片.您希望将两个以上的图像与一个计时器结合使用,以使视觉外观更好.我建议一个事件:与公共财产一起,改变听起来不错.
Two (or more) images. On mouse down, check if in the left or right side of the control and switch on/off state and picture appropriately. You want want to use more than two images in conjunction with a Timer in order to make the visual appearance better. I would suggest an event: Changed sounds good, in conjunction with a public property.


这篇关于设计自定义控制工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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