A command button, commonly called a button, is a rectangular object that displays a word or a group of words, expecting you to make a decision. You make your decision by clicking the button. The button is usually placed on a dialog box but it can also be placed on another type of container.
As far as you (the user) are (is) concerned, the most important characteristic of a button is the word or sentence it displays. This is called the caption. The most basic common button you will encounter has a caption of OK. The buttons available on a dialog box, including their behaviors, once again, depend on the programmer.
In many circumstances, the buttons come as a group. For example, you may have a dialog box with OK and Cancel buttons. Many dialog boxes have an OK and a Cancel buttons. Sometimes, they will have more than one button.
Whenever a button has an OK and a Cancel buttons, clicking the OK button tells the computer that "I accept the changes I made" or "I agree with the changes made", or simply, "I agree". Clicking the Cancel button tells the computer that "Never mind", or "No, cancel your suggestion", or "Dismiss what I did". The documentation of the dialog box you are using should give you enough information about the buttons on the dialog box.
Practical Learning: Using Command Buttons
1-To dismiss the Run dialog box, click Cancel
2-To launch Solitaire, on the Taskbar, click Start -> (All) Programs -> Games -> Solitaire
3-To display a dialog box, on the main menu, click Game -> Deck...
4-Click the picture on the 1st row - 4th column
5-Click Cancel and notice no change on the game.
6-On the main menu again, click Game -> Deck...
7-Click the picture on the 2nd row - 3rd column
8-Click OK
9-Notice that the back picture on the left top card has changed
No comments:
Post a Comment