Remove item from popup menu?

General TRichView support forum. Please post your questions here
Post Reply
vega
Posts: 50
Joined: Fri Oct 26, 2007 6:29 am

Remove item from popup menu?

Post by vega »

I need to remove the "Font..." item from all instances of the right-click popup menu. How can I do that?

An alternative to removal would be to be able to customize the fonts list in the popup Font... dialog. I need to restrict that list to web compatible fonts. Is this possible and how?

Thanks, Dan
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can remove items from TRVAPopupMenu in OnPopup event.
Search for the item linked to the font action and destroy it.
Post Reply