You can easily create, edit, and reuse commands. The Commands tab of the Customize dialog box allows you to create and modify existing commands that can then be added to a user interface element.
When you change the properties of a command in the Commands list, the properties of the command are changed everywhere the command is referenced. Each property of a command in the Commands list controls which actions are taken when the command is used and how the command looks when added to a user interface element.
The following table shows the properties of the Scale command as they appear in the Properties section.
Properties for the Scale command in the Commands list |
||
---|---|---|
Property |
Description |
Example |
Name |
String displayed as the caption of a menu item or as a tooltip on the Tool Sets palette. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). |
Scale |
Description |
String displayed as a tooltip when the cursor hovers over the tool on the Tool Sets palette. |
Enlarges or reduces selected objects, keeping the proportions of the object the same after scaling |
Macro |
The command macro. It follows the standard macro syntax. |
^C^C_scale |
Image |
ID string of the small-image resource (16 × 16 bitmap). The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined raster image file. Click the […] button to open the Select Image File dialog box. |
RCDATA_16_SCALE |