TmAddGrael Procedure

Adds a graphical element to the graphical element list for the specified instance of a VDA Tool.

Usage

TmAddGrael, tool_name, grael_name 

Parameters

tool_name—A string containing the unique name of a VDA Tool.

grael_name—A string containing the unique name of the graphical element to add.

Keywords

Rect—A two-element array specifying the upper-left and lower-right corners of a rectangle, in device coordinates. The rectangle specifies the boundary in which the user must click to select the item.

Discussion

This procedure allows you to add a new graphical element to a VDA Tool. To create a graphical element, you must first define it with TmSetAttribute and then associate a method with it with TmSetMethod. Use TmGetUniqueGraelName to obtain a unique name for the new graphical element.

Example

TmAddGrael, 'WzPlot_0', 'CIRCLE'

See Also

TmDelGrael, TmEnumerateGraels, TmGetGraelRectangle,  
TmGetUniqueGraelName, TmSetGraelRectangle