Page 1 of 1
Right click Popup
Posted: Fri Feb 10, 2017 7:45 am
by retwas
Hello,
Does it's possible like in TMemo to have a popup menu on the right click with Copy, Cut, and Paste ?
Thanks,
Robin
Re: Right click Popup
Posted: Fri Feb 10, 2017 12:42 pm
by Sergey Tkachenko
TRichView does not have a default menu to show when PopupMenu property is not assigned.
Create this menu and assign it yourself.
You have the following options:
1) If you use RichViewActions, use TRVAPopupMenu. When linked to ActionList containing RichViewActions, it adds necessary commands automatically.
2) You can use a popup menu containing the standard actions. TRichViewEdit supports: TEditCut, TEditPaste, TEditDelete, TEditUndo, TEditCopy, TEditSelectAll.
3) You can implement commands in the menu yourself.
Re: Right click Popup
Posted: Tue Feb 14, 2017 9:34 am
by retwas
Thanks