Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Exec_Method function ====== ==== Description ==== Executes a method for a specified object. ==== Syntax ==== Value = Exec_Method( Object, Method, Param1, Param2, Param3, … Param12 ) ==== Parameters ==== ^Name^Required^Description^ |Object|Yes|Identifier of the object to access. Must be in upper-case.| |Method|Yes|Name of the method to execute. Must be in upper-case.| |Param1 - Param12|No|Parameters to be passed to the method. Up to 12 parameters may be used.| ==== Returns ==== The return value is method dependent. If an invalid object or method name is specified then an empty string (null) is returned. No error condition is flagged. ==== Errors ==== N/A ==== Remarks ==== Methods can also be invoked from an objects EXECMETHOD property. ==== Example ==== <code> // Call the SYSTEM DESTROY method to destroy a the EDL_NAME control Call Exec_Method( "SYSTEM", "DESTROY", @Window : ".EDL_NAME" ) // Call the LISTBOX INSERT method to append an item to a list box // control called LST_ITEMS Call Exec_Method( @Window : ".LST_ITEMS", "INSERT", -1, "Item Twelve" ) </code> ==== See Also ==== EXECMETHOD property guides/programming/programmers_reference_manual/exec_method.txt Last modified: 2023/10/25 14:59by 127.0.0.1