I want to add the Ctrl-B for Bold, Ctrl-I for Italic and Ctrl-U for Underline keyboard shortcuts to my editor. I do this by adding this code to the RVActions TRVAPopupMenuHelper.PreparePopup(X, Y: Integer) code:
//------------My Mods
AddAction(TrvActionFontBold);
AddAction(TrvActionFontItalic);
AddAction(TrvActionFontUnderline);
AddAction(nil);
//-----------End My Mods
This works fine AFTER the user right-clicks once to invoke the Popup. However, the shortcuts AREN'T available before that. Is there a way I can have these shortcuts available without having to first invoke the Popup?
TIA,
Dick
Problem With Adding Shortcuts To RVE
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact: