HALCON Reference Manual 10.0.2
Table of Contents / Develop ClassesClassesClasses | | | Operators

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

dev_get_preferencesT_dev_get_preferencesdev_get_preferencesDevGetPreferencesDevGetPreferences (Operator)

Name

dev_get_preferencesT_dev_get_preferencesdev_get_preferencesDevGetPreferencesDevGetPreferences — Query HDevelop preferences within a program.

Signature

dev_get_preferences( : : PreferenceNames : PreferenceValues)

Herror T_dev_get_preferences(const Htuple PreferenceNames, Htuple* PreferenceValues)

Herror dev_get_preferences(const HTuple& PreferenceNames, HTuple* PreferenceValues)

void HOperatorSetX.DevGetPreferences(
[in] VARIANT PreferenceNames, [out] VARIANT* PreferenceValues)

static void HOperatorSet.DevGetPreferences(HTuple preferenceNames, out HTuple preferenceValues)

Description

dev_get_preferencesdev_get_preferencesdev_get_preferencesDevGetPreferencesDevGetPreferences allows to query selected preferences of HDevelop within a program. Until now, the following preferences are supported:

'graphics_window_context_menu'"graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu":

Returns whether a right click into the graphics window opens a context menu or not. By default the context menu is enabled.

'graphics_window_mouse_wheel'"graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel":

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.

'suppress_handled_exceptions_dlg'"suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg""suppress_handled_exceptions_dlg":

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 trytrytryTryTry-catchcatchcatchCatchCatch 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.

Attention

This operator is not supported for code export.

Parameters

PreferenceNamesPreferenceNamesPreferenceNamesPreferenceNamespreferenceNames (input_control)  attribute.name-array HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Selection of the preferences.

Default value: 'graphics_window_context_menu' "graphics_window_context_menu" "graphics_window_context_menu" "graphics_window_context_menu" "graphics_window_context_menu"

List of values: 'graphics_window_context_menu'"graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu""graphics_window_context_menu", 'graphics_window_mouse_wheel'"graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel", 'suppress_handled_exception_dlg'"suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg"

PreferenceValuesPreferenceValuesPreferenceValuesPreferenceValuespreferenceValues (output_control)  attribute.value-array HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Values of the selected preferences.

See also

dev_set_preferencesdev_set_preferencesdev_set_preferencesDevSetPreferencesDevSetPreferences

Module

Foundation


Table of Contents / Develop ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH