This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
METHOD OPEN PATH
|
METHOD OPEN PATH ( path {; line}{; *} ) | ||||||||
Parameter | Type | Description | ||||||
path | Text |
![]() |
Path of method to open | |||||
line | Number |
![]() |
Line number | |||||
* | Operator |
![]() |
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.
The command is asynchronous, it returns immediately to the calling method and does not wait for the method editor to be open.
This command can open all method types and class functions. For more details, see Path syntax.
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
Product: 4D
Theme: Design Object Access
Number:
1213
Created: 4D v13
Modified: 4D v19
4D Language Reference ( 4D v20 R7)