控件在外观和行为上与下压按钮一样。
Button control in Visual Basic looks and behaves like a push button.
下压按钮跳过这个动画,并提出立即的时间。
Pressing the lower button skips this animation and presents the time immediately.
但是下压按钮的整个目标是在它被激活时触发一个动作。
But the whole point of a push-button is to trigger an action when it is activated.
如果选定的控件不是下压按钮,则控件的位置不受影响。
If you select a control other than a push button, its position is not affected.
因为我实现的是一个下压按钮,最好是能够在鼠标点到按钮图像上的时候,让用户有压下按钮的感受。
Since I am implementing a push-button, I better do something so the user has the visual impression of pushing a button when the mouse is clicked over the button graphic.
现在,我们的下压按钮实现已经完成了,我可以创建一个非常简单的应用程序,其内部构造(而不是RCC定义和其他需要的SVG标记)如下所示。
Now that the implementation of my push-button is complete, I can create a very simple application, the guts of which (other than the RCC definitions and other required SVG markup) look like this.
现在,我们的下压按钮实现已经完成了,我可以创建一个非常简单的应用程序,其内部构造(而不是RCC定义和其他需要的SVG标记)如下所示。
Now that the implementation of my push-button is complete, I can create a very simple application, the guts of which (other than the RCC definitions and other required SVG markup) look like this.
应用推荐