LEADTOOLS JavaScript (Leadtools.Controls)

PreventContextMenu Property

Show in webframe
Gets or sets a value that indicates whether to prevent the browser context menu from appearing if activated on top of the events element.
Syntax
get_preventContextMenu();
set_preventContextMenu(value);
Object.defineProperty('preventContextMenu');

Property Value

TypeDescription
booleantrue to prevent the browser context menu from appearing if activated on top of the events element; otherwise, it is false. Default value is false.
Remarks

If you use ImageViewer.SetMouseInteractiveMode to associate an interactive mode with the right mouse button, then the viewer will automatically set the value of PreventContextMenu of its service instance to true.

See Also

Reference

InteractiveService Object
InteractiveService Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.