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_show_tooldev_show_toolDevShowTooldev_show_toolDevShowToolDevShowTool (Operator)

Name

dev_show_tooldev_show_toolDevShowTooldev_show_toolDevShowToolDevShowTool — Shows the specified tool.

Signature

dev_show_tool( : : ToolId, Action : )

Herror dev_show_tool(const char* ToolId, const char* Action)

Herror T_dev_show_tool(const Htuple ToolId, const Htuple Action)

Herror dev_show_tool(const HTuple& ToolId, const HTuple& Action)

void DevShowTool(const HTuple& ToolId, const HTuple& Action)

void HOperatorSetX.DevShowTool(
[in] VARIANT ToolId, [in] VARIANT Action)

static void HOperatorSet.DevShowTool(HTuple toolId, HTuple action)

Description

dev_show_tooldev_show_toolDevShowTooldev_show_toolDevShowToolDevShowTool executes the action ActionActionActionActionActionaction on the tool ToolIdToolIdToolIdToolIdToolIdtoolId

Instead of using the ToolIdToolIdToolIdToolIdToolIdtoolId, given during opening the tool, you can use the name that has to be used in dev_open_tooldev_open_toolDevOpenTooldev_open_toolDevOpenToolDevOpenTool. In that case a arbitrary tool, which fits the parameter ToolIdToolIdToolIdToolIdToolIdtoolId, is used.

ActionActionActionActionActionaction

'show'"show""show""show""show""show":

Activates the tool.

'normal'"normal""normal""normal""normal""normal":

Shows the tool, brings it to the front and activates it.

'minimize'"minimize""minimize""minimize""minimize""minimize":

Mimimizes the tool.

'maximize'"maximize""maximize""maximize""maximize""maximize":

Maximizes the tool.

'hide'"hide""hide""hide""hide""hide":

Hides the tool.

Attention

This operator is not supported for code export.

Parameters

ToolIdToolIdToolIdToolIdToolIdtoolId (input_control)  dev_tool HTupleHTupleHDevTool, HTupleVARIANTHtuple (string) (IntPtr) (HString) (char*) (BSTR) (char*)

Tool identifier.

ActionActionActionActionActionaction (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Action to execute.

Example (HDevelop)

dev_open_tool ('matching_assistant', 0, 0, 'default','default', ToolId)
dev_show_tool (ToolId, 'minimize')

Result

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

Possible Predecessors

dev_set_tool_geometrydev_set_tool_geometryDevSetToolGeometrydev_set_tool_geometryDevSetToolGeometryDevSetToolGeometry, dev_open_tooldev_open_toolDevOpenTooldev_open_toolDevOpenToolDevOpenTool

See also

dev_set_tool_geometrydev_set_tool_geometryDevSetToolGeometrydev_set_tool_geometryDevSetToolGeometryDevSetToolGeometry

Module

Foundation


ClassesClassesClassesClasses | | | | Operators