Monday, February 06, 2006

Double Clicks

A lot of inexperienced computer users can't tell when to single click and when to double click, so they just develop a habit of double clicking on everything. Microsoft has compensated for this in many areas of the UI. For example, double clicking on the Start button or any taskbar button only toggles its state once (except in the classic UI).

I was testing my new website (more on that later this week), and I discovered that IE also compensates for double clicks on web form buttons. It only executes the button's JavaScript code as if it were clicked once, even though it graphically shows the button being depressed twice. This may also be to prevent things like double form submits.

No comments: