From the 4D v19 R5, components can publish their classes. This feature came with tips and code completion support to smooth your code writing.
To make your coding experience even easier, 4D v19 R7 is bringing a new feature: say hello to the support of classes in the method explorer.
In the method explorer, you can find the list of the classes visible for a component right after the component method list:
As you can see above, the component name is now followed by the component namespace between parentheses. So if you want to instantiate the Class1 of myComponent, you need to write:
$myClass1:=cs.myComponent.Class1.new()
If the documentation is present for a class, you can see it in the right panel:
And, if the component is installed with the source code, you can visualize the code too:
Happy coding!
Check out the documentation for more information, and don’t hesitate to share your feedback on the 4D forum!