Reference Guide > T Routines > TmEnumerateItems Function
  

TmEnumerateItems Function
Obtains the items defined for a specified VDA Tool.
Usage
item_list = TmEnumerateItems(tool_name)
Parameters
tool_name—A string containing the unique name of a VDA Tool.
Returned Value
item_list—A string array containing the names of the items that were defined for the given VDA Tool.
Keywords
None.
Discussion
Items can include a wide variety of things that you want to put in a VDA Tool. Some examples of items are:
*variables
*help files
*drawing area
*file names
This function lists all the items associated with a specified VDA Tool.
Example
The following command lists the items associated with a VDA Tool.
WzHistogram, HANNING(30, 30)
; List items associated with unique VDA Tool WzHistogram_0.
PRINT, TmEnumerateItems('WzHistogram_0')
   LINE STATUS AXIS_0 TM_DRAWING TM_WINDOWID TM RECTANGLE AXIS
   TEXT BITMAP BUTTONBAR MESSAGE TM_HELP AXIS_1 
   MENUBAR STATUS2 VIEW LEGEND
See Also
TmEnumerateGraels, TmEnumerateVars

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.