Context menu in Marvin View control

User 7eb23419ad

15-01-2014 12:48:58

Hi,


i use the Marvin view control for .NET. In the context menu there is a "Properties" selection. How I can hide this?


 


Thx for your help

ChemAxon bd13b5bd77

15-01-2014 14:22:15

Hi,


there is no way to hide Properties, and I do not understand the reason why is it problematical?


Viktor

User 7eb23419ad

15-01-2014 15:21:55

Hi,


i only want to have Edit, Copy and Paste. The Properties selection isn't important.

ChemAxon bd13b5bd77

15-01-2014 15:27:07

Only the Edit menu is affectable, because basically the control is a view-ver (not an inplace) editor, the only difference when the Edit menu is available for the users is that in this situation teh Readonly proeprty of the control is false, which means that it is connected to the default editor via an interface.


The Properties are serving the visualization style fo moelcules like expolicit hydrogen, heteroatom, rendering style, and so forth. Is it a big problem to have it there?


If so: you can inherit from the control and try to capture the right mouse event over it not to drop the context menu at all or drop your custom one.


The functionality it provides can be done very easily with our ChemAxon .NET API.


 


 

ChemAxon bd13b5bd77

15-01-2014 15:28:01

If you need methods how to simulate edit, and copy please let me know.