Method:

Method:

setPreferenceMenus(true/false)

E.g. ViewONE.setPreferenceMenus(true);

Specifies whether the preference pop-up menus are available (using mouse button 2/3). A value of ‘true’ (default) indicates the menus are available and ‘false’ indicates they are not.

The menu is as follows:

isPreferenceMenus()

E.g. var menusEnabled = ViewONE.isPreferenceMenus();

Returns a Boolean value of ‘true’ if the menus are enabled else a value ‘false’ is returned.

74

Page 74
Image 74
JAVA Tech VERSION 3.0 manual SetPreferenceMenustrue/false, IsPreferenceMenus, ViewONE.setPreferenceMenustrue