4D v16.3

METHOD OPEN PATH

Home

 
4D v16.3
METHOD OPEN PATH

METHOD OPEN PATH 


 

METHOD OPEN PATH ( path {; *} ) 
Parameter Type   Description
path  Text in Path of method to open
Operator in If passed = command applies to host database when executed from a component (parameter ignored outside of this context)

The METHOD OPEN PATH command opens, in the 4D Method editor, the method whose internal pathname is passed in the path parameter.

This command can open all method types (object, form, trigger, project or database); however, the method must already exist. If the path parameter does not correspond to an existing method, the error -9801 "Cannot open method" is returned.

You can execute this command from a component, but in this case, you must pass the * parameter because access to the component code is read-only. If you omit the * parameter in this context, the error -9763 is generated



See also 

METHOD Get path

 
PROPERTIES 

Product: 4D
Theme: Design Object Access
Number: 1213

 
HISTORY 

Created: 4D v13

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)