Components
A 4D component is a set of 4D methods and forms representing one or more functionalities that you can install and use in your projects. For example, the 4D SVG component adds advanced commands and an integrated rendering engine that can be used to display SVG files.
Where to find components?
Several components are preinstalled in the 4D development environment, but a lot of 4D components from the 4D community can be found on GitHub. Additionnally, you can develop your own 4D components.
Installing components
To install a component, you simply need to copy the component files into the Components
folder of the project. You can use aliases or shortcuts.
A host project running in interpreted mode can use either interpreted or compiled components. A host project running in compiled mode cannot use interpreted components. In this case, only compiled components can be used.
Using components
Component methods and forms can be used as standard elements in your 4D development.
When an installed component contains methods, they appear in the Component Methods theme of the Explorer's Methods page.
You can select a component method and click on the Documentation button of the Explorer to get information about it, if any.