Share this Page URL

Chapter 3. Making Your Programs Do What ... > Now What? Getting a Program to Do So... - Pg. 28

Making Your Programs Do What You Want Them to Do 28 · The command is toggled on or off--Some commands operate like light switches: They toggle certain features of a program on and off. When the feature is on, a small check mark appears to the left of the command to let you know. Selecting the command turns off the feature and removes the check mark. If you select the command again, the feature turns back on and the check mark reappears. For example, click the View menu's Status Bar command, which acti- vates the status bar at the bottom of the My Computer window (see Figure 3.5). · An option is activated--Besides having features that you can toggle on and off, some programs have flexible features that can assume three or more different states. My Computer, for example, gives you five ways to display the contents of your computer, according to your choice of one of the following View menu commands: Thumbnails, Tiles, Icons, List, and Details (see Chapter 26, "Renovating My Computer"). Because these states are mutually exclusive (you can select only one at a time), you need some way of knowing which of the four commands is currently active. That's the job of the option mark : a small dot that appears to the left of the active command (see the Tiles command in Figure 3.5). · A dialog box appears--Dialog boxes are pesky little windows that show up whenever the pro- gram needs to ask you for more information. You learn more about them in the "Dealing with Dialog Boxes" section, later in this chapter. Windows Wisdom