Error getting tags :
error 404Error getting tags :
error 404 tool | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
tool
Basics
Expander triangle
Type
Property
Syntax
set the tool [of stack] to toolName
Introduced
1.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies which tool is currently chosen.
Examples

set the tool to "button tool"
set the tool to pointer

Additional Comments
Expander triangle

Use the tool property to check which tool is in use before performing an action that depends on the tool.

Value:

The tool function returns one of the following tool names:

browse, pointer, button, field, scrollbar, graphic, image, player, select, pencil, bucket, brush, eraser, spray can, rectangle, line, round rect, oval, polygon, curve, regular polygon, dropper

followed by the word "tool".

When setting the tool property, you can omit the word "tool".

Comments:

The tool names are the same as the names used with the choose command to select a tool for use.

Setting the tool is equivalent to choosing the tool with the choose command.

User Comments
Expander triangle