• Aucun résultat trouvé

Commands and Menus

Dans le document 3+ Open'" MS OS/2 Documentation Set (Page 188-196)

Presentation Manager commands are organized in menus. Each application has its own menus, with a System menu common to all applications. The System menu is represented by a box in the upper-left corner of each window; all other menus are represented by names in the menu bar below the title bar at the top of each window.

In Presentation Manager, you select a menu, then choose a command

,;t;m~~;I~~Jii:;l~imiiii!i!iE!U!eaftr.~~ilmilUi!f~:~i~!;n~iard5ii;aiiifli~~~jimmtlIiPJBWK!i .. ~I~~i~~!mi~l;!:ti!ii'J~liiffi:m

Choosing a Command

You can choose a command by using either a mouse or the keyboard.

To choose a command by using a mouse, do the following:

IT] Click the menu name on the menu bar.

[!] Click the command name.

If you're using the keyboard, you have two ways to choose commands from menus: the basic method and the direct-access method.

The basic method uses the DIRECTION keys. To choose a command by using the basic method, do the following:

IT] Press AL T or FlO to select the menu bar.

[!] Press the LEFf or RIGHT keys to select a menu on the menu bar.

@] Press ENTER to display the menu.

m

Press the UP or DOWN keys to select the command you want.

[!] Press ENTER to choose the command.

If your application shows underlined letters in command and menu names, you can use the direct-access method. To choose a command by using the direct-access method, do the following:

IT] Press AL T or FlO.

[!] Press the underlined letter in the menu name.

Chapter 1: Presentation Manager Skills

~n~llm;~~em~n:iiiliinS!liriem:ii!~!!il§!ElpJ!i!W~!!;S'i£a~!!!ii:1if~i'mmiS~m~~UifAil~l!~'~!~~tM~m~~;;a;Sll~m~~ian:

Underlined letters in menu names

Ie Qptlons Iree Arrange ~ndow E1S.1t Ctrltletter selects a drive.

SA I3B teD

(RALPH) C:\

~ OS2

REPORTS SPOOL

~ ~~TALL

INTRO SYSTEM

@] Press the underlined letter in the command name.

Note If more than one menu or command name shares the same underlined letter, Presentation Manager selects the first menu or com-mand listed. Press the underlined letter again to select the next menu or command. To see the menu or choose the command, press ENTER.

If you decide you don't want to choose a command, you can cancel the menu.

If you are using a mouse, you can cancel a menu without making another selection, by doing the following:

~ Click in a blank area outside the menu.

To cancel a menu and move back to the application work area by using the keyboard, do the following:

1!!I4~~iil;!nSm:ei~-;;;fii1~I'~ilmiiiifl!ml~;~;gu;;;f!iitiir.saUiili~f.N.i!;;l:ratll'Uilmp.!!.~t!i;~iOOt,SQ.nm..~~ni!:ti!ia?Jtilii;mit~

The System Menu

Pressing ESC also cancels the menu; however, the selection cursor remains on the menu bar so that you can select another menu. To move back to the application work area, press ESC again.

A check mark next to a command name on a menu indicates the com-mand has been chosen and is active.

Screen colors •••

Border width .••

v~arnlng beep Mouse •..

Logo display ••.

~ountry .•.

An ellipsis ( ... ) next to a command name on a menu indicates that a dialog box will appear when the command is selected. For more information, see "Using a Dialog Box," later in this chapter.

In addition to application menus, a System menu appears in the upper-left corner of each window; it is represented by the System-menu box.

System-menu box

You use System-menu commands to manipulate windows; for example, to change their size or move them on your screen, and to switch

Chapter 1: Presentation Manager Skills

!£iJi!i!::;irn:J.qllit=USJa!i!;&iU!B~~;r.FS!!~~iil!i!Ir~1ill1m~~:a:L~rei;~1rJ~m~w.u$"~~mlij~;~Jil~Ftii~~~mm~~~t~il

between applications. Some dialog boxes also have System menus. The following table describes the System-menu commands:

Command has been enlarged (by using the Maximize command) or shrunk to an icon (by using

Selects the Task Manager window (Task Manager lists the programs you have running and lets you choose which one you want to work in).

Some applications do not have all of these commands listed on their System menus. For example, the Close command is not on the System menu in Start Programs because you cannot close the Start Programs window.

Although you choose commands from the System menu as you would from any other menu, you select the System menu in a different way.

To select the System menu by using a mouse, do the following:

~ In a window, click the System-menu box in the upper-left corner of the window; in an icon, click the icon.

To select the System menu by using the keyboard, do the following:

~ Press ALT+SPACEBAR or SHIFT+ESC.

You can then use either the basic method or the direct-access method to choose the command you want.

iaiffiiitr!S~J;:tl~~ln!!!!!~iS!~iii~I~~;;;;~~I~!!I!l~iili~~m1Ia:afi§m!~'~SeJiilia~miS;,§;;a~~~tm'f~I~!:I!i!1!~~~!~;ijftil

Commands in Work-Area Windows

In some applications, such as File System, you can open windows within the application work area. These windows also have System menus but you select them a little differently.

System-menu box

Eile Qptions Iree Arrange riindow Exit Ctrl+letter selects a drive.

ffiA ffiB l§D

(RAlPH] C:\

~ OS2

REPORTS SPOOL

E

Dll INSTAll INTRO SYSTEM

To select the System menu from a window within an application by using a mouse, do the following:

~ Click the System-menu box in the window.

To select the System menu from a window within an application by using the keyboard, do the following:

[!] Press SHIFT+ESC to select the System menu in the main application window.

[!] Press the RIGHT key.

Chapter 1: Presentation Manager Skills

1m;!;::m-:si.iliii~l!~ftillilt!ii!P.l:¥J~~~it5I~!~!jfi~iI~~1r;1~;Mt-~m~~!J~n!!I!!£!!!!~!~~~~~mU§iUiiIHSn!ti!!!iI!i!I;!.mm~~fal~

~iff.!i~ The following is a shortcut for selecting the System menu from a win-dow in an application by using the keyboard:

~ ~ Press and hold down CTRL and press - (hyphen key).

System-menu commands

The commands on the System menu of a work-area window vary depending on the application; for example, in some Pr~sentation

Manager applications you cannot enlarge work-area windows by using the Maximize command. For more information, see your application manual.

Inactive Commands

When you see a command name grayed on its menu, it means the com-mand is inactive and cannot be used.

~;~ii;r:mtiS~:~!i!=mf;j!8!U!mmn~:~mf!m&;!$Haif~':}~;;iji!ii!~~m1t~~~~l~~ml~!l1umI51~;~m;~rr§r:di~~(S~R?m!~U~

Shortcut Keys

Inactive commands

Slow Fast Slow Fast

You may have to select something before you can use the command, or it may be that the command cannot be used with your application; for example, the Control Panel window has a fixed size, so you cannot use either the Maximize or the Size command.

Some menus have shortcut keys, usually listed to the right of the com-mand name. Often these keys are a combination of a function key and the ALT or CTRL key. You use these keys to choose a command without first selecting the menu where the command is located. The following list shows the System-menu shortcut keys:

Command Press

Restore ALT+FS

Move ALT+F7

Size ALT+FS

Minimize ALT+F9

Maximize ALT+FlO

Close ALT+F4

Task Manager CTRL+ESC

For example, to enlarge a window by using the shortcut keys for the Maximize command, you select the window and press ALT+FIO.

Chapter 1: Presentation Manager Skills

~;~~ii:lS;~-:S~!ii~jl1imUftlfCi!i;itlii~=r.~~!~~!ifiWl!mRSiiijffii!liI!!!i!~~~~~l~~;~;!!ie!!!!n!nSSiiiiUi~i~;~~~PJmim!G1!I;'1

Dans le document 3+ Open'" MS OS/2 Documentation Set (Page 188-196)