TRVAPopupMenu, TRVAPopupActionBar, TRVATBPopupMenu, TRVATBXPopupMenu, TRVASPTBXPopupMenu
|Top Previous Next|
TRVAPopupMenu encapsulates the properties, methods, and events of a pop-up menu for TCustomRichViewEdit.
Unit RichViewActions, RVAPopupActionBar;
Syntax, if TNT Controls are not used:
TRVAPopupMenu = class(TPopupMenu, IRVAPopupMenu)
Syntax, if TNT Controls are used:
TRVAPopupMenu = class(TTntPopupMenu, IRVAPopupMenu)
TRVATBPopupMenu = class (TTBPopupMenu, IRVAPopupMenu)
TRVATBXPopupMenu = class (TTBXPopupMenu, IRVAPopupMenu)
TRVASPTBXPopupMenu = class (TSPTBXPopupMenu, IRVAPopupMenu)
TRVAPopupActionBar = class (TPopupActionBar, IRVAPopupMenu)
There are several similar components representing pop-up menu:
•TRVAPopupMenu is inherited from the standard TPopupMenu, or, if TNT Controls are used, from TTntPopupMenu.
•TRVAPopupActionBar is inherited from TPopupActionBar, available for Delphi 2006 or newer, defined in RVAPopupActionBar unit.
•TRVATBPopupMenu is available if Toolbar2000 is used.
•TRVATBXPopupMenu is available if TBX is used.
•TRVASPTBXPopupMenu is available if SpTBXLib is used.
This menu is automatically filled with RichViewActions from ActionList.
The following actions are always added (if available):
The following action is added if an image or a break is at the position of the caret:
The following actions are added if there is a table with multicell selection:
The following actions are added if the table row(s)/column(s) are selected completely:
The following action is added if there is a table without edited cell:
The following action is added if there is a table with selection, and the selected cells can be merged:
Othewise, the following action is added:
The following action is added if the current item is a table:
This menu supports live spelling. If Addict 3 or 4 is used, the live spelling commands appear automatically (suggestions for the current misspelled word, "Add to Dictionary" and "Ignore" commands). For other spellcheckers, you need to process the events:
Adding custom commands
This menu is recreated each time before it is displayed, before OnPopup event occur. All menu items are deleted and new items are added.
If you need adding another commands (or delete some existing commands), do it in OnPopup event.
RichViewActions © trichview.com