Reference Guide > T Routines > TmGetGraelMethod Function
  

TmGetGraelMethod Function
Obtains the data structure for the specified method.
Usage
name = TmGetGraelMethod(tool_name, grael_name, method_name)
Parameters
tool_name—A string containing the unique name of a VDA Tool.
grael_name—A string containing the name of the graphical element.
method_name—A string containing the name of the method to execute, e.g., TMDISPLAY.
Returned Value
name—The data structure of the method.
Keywords
None.
Discussion
The method data structure contains two tags: the name of the method procedure and a variable for user data.
Example
This returns the name of the procedure that is called (TmLine) when the TM_DISPLAY method is called for the graphical element LINE_0.
INFO, /Full, TmGetGraelMethod('WzPlot_0', 'LINE_0','TM_DISPLAY') 
   { TmLine{}}
See Also
TmEnumerateGraelMethods, TmExecuteGraelMethod, TmSetGraelMethod

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