ComponentOne Menus and Toolbars for WinForms
Menus and Toolbars for WinForms Task-Based Help / Menu Tasks / Localizing the Text for the Shortcut Key
In This Topic
    Localizing the Text for the Shortcut Key
    In This Topic

    To localize the text for the Shortcut Key, complete the following steps:

    1. Add a C1MainMenu control to your form.
    2. Right-click on the control and select Edit from the context menu.
    3. Click OK  in the Link to Command dialog box.
    4. Select C1CommandLink2 from the Properties drop-down list.
    5. Right-click on the New Command and select Edit from the context menu. Enter File in the text textbox and then click OK.
    6. In the Properties window, locate and expand the C1CommandLink2.Command node.
    7. Select the C1CommandLink2.Shortcut property and choose  F3 from the drop-down list.
    8. Select the C1CommandLink2.ShortcutText property and set it to F3, for this topic.

      The text for the shortcut will appear as in the following image:

      Short-cut text

    See Also