hmFree_OpenMethodEditor
hmFree_OpenMethodEditor(MethodName;line) -> result
Parameter Type Description
MethodName Text -> Method name
line Longint -> Method line
result Longint <- Status
The command hmFree_OpenMethodEditor opens a method, defined by MethodName, in design mode and jumps the the line defined by the parameter line.
If the result returns 0, everything was ok. If the method doesn't exists, the result returns -1.
The following example opens the method "MyMethod" and jumps to the line 15:
C_LONGINT($vl_result)
$vl_result:=hmFree_OpenMethodEditor("MyMethod";15)