TRVSmartPopupProperties.Menu

<< Click to display table of contents >>

TRVSmartPopupProperties.Menu

A link to a popup menu to display when the user clicks a button or presses ShortCut.

property Menu: TPopupMenu;

Alternatively, you can:

process TCustomRichViewEdit.OnSmartPopupClick event to execute a command or display a dialog;

(in FireMonkey) assign Popup property.

You can change this property in TCustomRichViewEdit.OnCaretMove (to create the proper button for the item at the position of the caret).

FireMonkey note: this menu works even on Android; TRichView simulates it using TPopup containing TListBox.

If both Popup and Menu are assigned, Popup is displayed.