Error getting tags :
error 404Error getting tags :
error 404 newTool | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
newTool
Basics
Expander triangle
Type
Message
Syntax
newTool toolName
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to the current card when a different tool is chosen.
Examples

on newTool newTool
if newTool is "Browse" then show stack "Editing Tools"
else hide stack "Editing Tools"
end newTool

Additional Comments
Expander triangle

Handle the newTool message if you want to change something when a tool is chosen. For example, you might want to show a particular palette window only with the Browse tool.

Parameters:

The toolName is the name of the tool that has just been chosen.

Comments:

The newTool message is sent when the user chooses a tool from the Tools palette or when a handler chooses a new tool with the choose command.

User Comments
Expander triangle