Recommended standard on Windows is that the "Ok" button
applies all changes _and_ closes dialogs.

Optionally having an "Apply" button in a dialog may be fine,
but it should be provided only if there is a visible effect
somewhere when clicking it. Clicking "Apply" before "Ok" must
not be required to apply the changes.

"Ok" should be the default button. That is, hitting the
return or enter key on the keyboard is an alias -- provided
it has the focus, which it must have by default on dialog
open (the tab key changes the focus).

"Esc" is the keyboard alias for cancel.

The text of the ok button may be something else, according
to the purpose of the dialog (e.g. "Import" in a dialog
about importing things).

Obviously, "Cancel" should abandon all changes made
(but only those made since the last "Apply click -- if there is
and Apply button) and close the dialog without applying any
changes made.

Using the close icon in the top right should have
the same effect as "Cancel", if there is an cancel
button in the dialog.

A "Close" button is normally not provided, if there
is an "Ok" and a "Cancel".

If there is a close button but no "Ok" and no "Cancel",
"Close" should apply all changes. Same when clicking
the close icon in the top right in that case.

Recommended order of the buttons are: Ok, Cancel, Apply
(left to right). They should be placed at the bottom
right.



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to