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

dev_show_tooldev_show_toolDevShowToolDevShowTool (Operator)

Name

dev_show_tooldev_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)

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

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

Description

dev_show_tooldev_show_toolDevShowToolDevShowToolDevShowTool executes the action ActionActionActionActionaction on the tool ToolIdToolIdToolIdToolIdtoolId

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

ActionActionActionActionaction

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

Activates the tool.

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

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

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

Minimizes the tool.

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

Maximizes the tool.

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

Hides the tool.

Attention

This operator is not supported for code export.

Parameters

ToolIdToolIdToolIdToolIdtoolId (input_control)  dev_tool HTupleHTupleHtuple (string) (IntPtr) (HString) (char*)

Tool identifier.

ActionActionActionActionaction (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (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_toolDevShowToolDevShowToolDevShowTool returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

Possible Predecessors

dev_set_tool_geometrydev_set_tool_geometryDevSetToolGeometryDevSetToolGeometryDevSetToolGeometry, dev_open_tooldev_open_toolDevOpenToolDevOpenToolDevOpenTool

See also

dev_set_tool_geometrydev_set_tool_geometryDevSetToolGeometryDevSetToolGeometryDevSetToolGeometry

Module

Foundation


ClassesClasses | | Operators