ClassesClassesClassesClasses | | | | Operators

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

dev_set_preferencesT_dev_set_preferencesDevSetPreferencesdev_set_preferencesDevSetPreferencesDevSetPreferences (Operator)

Name

dev_set_preferencesT_dev_set_preferencesDevSetPreferencesdev_set_preferencesDevSetPreferencesDevSetPreferences — Set HDevelop preferences within a program.

Signature

dev_set_preferences( : : PreferenceNames, PreferenceValues : )

Herror T_dev_set_preferences(const Htuple PreferenceNames, const Htuple PreferenceValues)

Herror dev_set_preferences(const HTuple& PreferenceNames, const HTuple& PreferenceValues)

void DevSetPreferences(const HTuple& PreferenceNames, const HTuple& PreferenceValues)

void HOperatorSetX.DevSetPreferences(
[in] VARIANT PreferenceNames, [in] VARIANT PreferenceValues)

static void HOperatorSet.DevSetPreferences(HTuple preferenceNames, HTuple preferenceValues)

Description

dev_set_preferencesdev_set_preferencesDevSetPreferencesdev_set_preferencesDevSetPreferencesDevSetPreferences allows to set selected preferences of HDevelop within a program. 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""graphics_window_context_menu":

Controls whether a right click into the graphics window opens a context menu or not. By default the context menu is enabled. Disabling the context menu may be sensible if the right mouse button is used for controlling some kind of navigation in the graphics window, e.g., for moving or zooming 3D objects.

Possible values: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true".

Default value: 'true'"true""true""true""true""true".

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

Controls whether a the mouse wheel can be used to zoom the contents of the graphics window or not. By default the mouse wheel is enabled. Disabling the mouse wheel may be sensible if 3D objects are displayed and if the zooming into the objects is realized interactively with the help of 3D display operators.

Possible values: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true".

Default value: 'true'"true""true""true""true""true".

'graphics_window_tool_tip'"graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip":

Controls whether pressing the Ctrl-key over the graphics window shows a tool tip with the current pixel position and the gray values under the mouse cursor or not. By default the tool tip is enabled. Disabling the tool tip may be sensible if the state of the Ctrl-key shall be evaluated for program based user interactions, e.g., for manipulating the view on 3D objects.

Possible values: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true".

Default value: 'true'"true""true""true""true""true".

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

Controls whether the error dialog should be suppressed that is by default opened for exceptions that are thrown during program execution and that are enclosed by a trytryTrytryTryTry-catchcatchCatchcatchCatchCatch block and can therefore be handled by an exception handler. This option is persistently stored into the HDevelop.ini file and can also be configured via the Preferences dialog / General Options / Experienced Users. If an exception is thrown by a program line that is not enclosed by a trytryTrytryTryTry-catchcatchCatchcatchCatchCatch block, an error message dialog is always opened.

Possible values: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true".

Default value: 'false'"false""false""false""false""false" (Any changes are persistently saved).

Attention

This operator is not supported for code export.

Parameters

PreferenceNamesPreferenceNamesPreferenceNamesPreferenceNamesPreferenceNamespreferenceNames (input_control)  attribute.name-array HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (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" "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_context_menu", 'graphics_window_mouse_wheel'"graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel""graphics_window_mouse_wheel", 'graphics_window_tool_tip'"graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip""graphics_window_tool_tip", 'suppress_handled_exception_dlg'"suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg""suppress_handled_exception_dlg"

PreferenceValuesPreferenceValuesPreferenceValuesPreferenceValuesPreferenceValuespreferenceValues (input_control)  attribute.value-array HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

New values for the selected preferences.

Default value: 'false' "false" "false" "false" "false" "false"

List of values: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true"

See also

dev_get_preferencesdev_get_preferencesDevGetPreferencesdev_get_preferencesDevGetPreferencesDevGetPreferences

Module

Foundation


ClassesClassesClassesClasses | | | | Operators