ClassesClassesClassesClasses | | | | 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).

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

dev_inspect_ctrldev_inspect_ctrlDevInspectCtrldev_inspect_ctrlDevInspectCtrlDevInspectCtrl (Operator)

Name

dev_inspect_ctrldev_inspect_ctrlDevInspectCtrldev_inspect_ctrlDevInspectCtrlDevInspectCtrl — Open a window to inspect one or more control variables.

Signature

dev_inspect_ctrl( : : Variable : )

Herror dev_inspect_ctrl(const Hlong Variable)

Herror T_dev_inspect_ctrl(const Htuple Variable)

Herror dev_inspect_ctrl(const HTuple& Variable)

void DevInspectCtrl(const HTuple& Variable)

void HOperatorSetX.DevInspectCtrl([in] VARIANT Variable)

static void HOperatorSet.DevInspectCtrl(HTuple variable)

Description

dev_inspect_ctrldev_inspect_ctrlDevInspectCtrldev_inspect_ctrlDevInspectCtrlDevInspectCtrl opens a variable inspect dialog to display the contents of one or more control variables. The result of this action is identical to selecting Inspect from the context menu of control variables in the variable window.

The standard variable inspection window displays the values in a table with some optional statistics. For some semantic types, e.g. matrixes, a special representation exists and is used by default. For more information, see the chapter "Inspecting Variables" in the HDevelop User's Guide.

You can pass a tuple of variables in VariableVariableVariableVariableVariablevariable to open an inspection window for multiple variables. It is also possible to override the default inspection mode by including a string literal as the first element of the tuple:

'tuple':

Show the values in the default inspection window even if the semantic type of the variable has a special representation.

'plot':

Plot the values of numeric variables against their tuple index.

'plot_xy':

Plot the values of numeric variables as X-Y pairs. The number of variables must be even, with each pair of variables having the same length.

Normally, the contents of the dialog will be updated whenever the variables change. However, the update behavior can be influenced by the operator dev_update_vardev_update_varDevUpdateVardev_update_varDevUpdateVarDevUpdateVar and the Update Variable preference.

The dialog can be closed by pressing the Close button or by calling dev_close_inspect_ctrldev_close_inspect_ctrlDevCloseInspectCtrldev_close_inspect_ctrlDevCloseInspectCtrlDevCloseInspectCtrl.

Attention

This operator is not supported for code export.

Parameters

VariableVariableVariableVariableVariablevariable (input_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*) (Hlong / double / BSTR) (Hlong / double / char*)

Name of the variable to be checked.

Example (HDevelop)

read_image (Image, 'fabrik')
regiongrowing (Image, Regions, 3, 3, 6, 100)
area_center (Regions, Area, Row, Column)
dev_inspect_ctrl (Area)
dev_inspect_ctrl (['plot_xy', Row, Column])

Result

If the values of the specified parameters are correct, dev_inspect_ctrldev_inspect_ctrlDevInspectCtrldev_inspect_ctrlDevInspectCtrlDevInspectCtrl returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

See also

dev_update_vardev_update_varDevUpdateVardev_update_varDevUpdateVarDevUpdateVar

Module

Foundation


ClassesClassesClassesClasses | | | | Operators