If you experiment with buttons in various programs, you'll probably find that the button triggers when you press and then release the mouse within it.
More specifically, when you press the mouse, the button switches to a "pressed" appearance, but if you drag the mouse outside the button, the button reverts to its normal appearance, and releasing the mouse then has no effect. There is probably also another state that the button is in when you hover the mouse over it.
For a user accustomed to modern interfaces, you really need to provide all three of these states - normal, hover, and press - in order to give them the feedback they expect for a pressable item.
发布评论
评论(1)
如果您在各种程序中尝试按钮,您可能会发现当您按下然后释放其中的鼠标时,该按钮会触发。
更具体地说,当您按下鼠标时,按钮会切换到“按下”的外观,但如果将鼠标拖动到按钮之外,按钮会恢复到其正常外观,然后释放鼠标没有任何效果。当您将鼠标悬停在按钮上时,该按钮可能还处于另一种状态。
对于习惯了现代界面的用户,您确实需要提供所有这三种状态 - 正常、悬停和按下 - 以便为他们提供他们期望的可按下项目的反馈。
If you experiment with buttons in various programs, you'll probably find that the button triggers when you press and then release the mouse within it.
More specifically, when you press the mouse, the button switches to a "pressed" appearance, but if you drag the mouse outside the button, the button reverts to its normal appearance, and releasing the mouse then has no effect. There is probably also another state that the button is in when you hover the mouse over it.
For a user accustomed to modern interfaces, you really need to provide all three of these states - normal, hover, and press - in order to give them the feedback they expect for a pressable item.