| Table of Contents / Develop | Operators |
dev_get_preferences — Query HDevelop preferences within a program.
dev_get_preferences( : : PreferenceNames : PreferenceValues)
dev_get_preferences allows to query selected preferences of HDevelop within a program. Until now, the following preferences are supported:
Returns whether a right click into the graphics window opens a context menu or not. By default the context menu is enabled.
Returns whether the mouse wheel can be used to zoom the contents of the graphics window or not. By default the moue wheel is enabled.
Returns whether the error dialog is suppressed that is by default opened for exceptions that are thrown during program execution and that are enclosed by a try-catch block and can therefore be handled by an exception handler. This option is persistently stored in the HDevelop.ini file and can be configured via the Preferences dialog / General Options / Experienced Users.
This operator is not supported for code export.
Selection of the preferences.
Default value: 'graphics_window_context_menu'
List of values: 'graphics_window_context_menu', 'graphics_window_mouse_wheel', 'suppress_handled_exception_dlg'
Values of the selected preferences.
Foundation
| Table of Contents / Develop | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |