Select Shortcut Dialog Box   (.NET)

 

The Select Shortcut dialog box is used to specify a hotkey for a .NET menu resource item.

 

 

Figure 1:  The Select Shortcut dialog box.

 

 

Viewing/Displaying Shortcuts

Shortcuts can be made visible in RC-WinTrans' Text Table view in the Show Additional Data Types dialog box (Figure 2).  Open this dialog using the following menu commands: View | Show Project Data | Additional Data (for Dialogs and Menus).  Next, in the opened dialog, check the box next to the "Shortcuts (Menus)" item.  Press the OK button to close the dialog and activate the display of shortcuts in the Text Table view (Figure 3).

 

 

Figure 2:  The option to display "Shortcut" items highlighted (and checked) in the Show Additional Data Types dialog box.

 

 

Figure 3:  The Text Table view where the data for shortcut and menu item texts has been made visible. Three shortcuts have been highlighted/selected.

 

 

Opening the Dialog Box

The Select Shortcut dialog box can be opened from the Text Table view or from the Menu view.  Both ways are described below.

 

From the Text Table View:

Select the item and press the Resource Type Editor toolbar button; OR

Click on the Resource Type Editor symbol for the item.  Select the Resource Type Editor: "Shortcut resx" command from the local menu that is called up.

 

Figure 4.     

 

From the Menu View:

Right-click with the mouse on the shortcut text (here: "CtrlE") to open a local menu, then select the Resource Type Editor: "Shortcut resx" command; OR

In the Captions tab view, click on the Resource Type Editor symbol.

 

    Figure 5.

 

 

 

Further Examples of Shortcut Items

Figure 5 (above) shows a .NET Form with a main menu.  The two menu items "Open" and "Save" have shortcuts assigned to them: "Ctrl+O" and "Ctrl+S" (respectively).

 

Figure 6 shows a Windows .NET Form with a simple main menu.

 

 

Figure 6:  A Windows .NET Form with a simple main menu.

 

 

^ TOP ^