Extensions
The 4D project architecture is modular. You can provide additional functionalities to your 4D projects by installing components and plug-ins. Components are made of 4D code, while plug-ins can be built using any language.
Preinstalled 4D components
4D includes by default a set of built-in 4D components, that you can see in the Component Methods theme of the Explorer's Methods page. All these components can also be found on the 4D github repository.
Component | Description | Main Features |
---|---|---|
4D Labels | Internal component required to build label templates | |
4D NetKit | Set of tools to connect to third-party APIs | OAuth2Provider class, New OAuth2 provider , OAuth2ProviderObject.getToken() |
4D Progress | Open one or more progress bars in the same window | Progress New , Progress SET ON STOP METHOD , Progress SET PROGRESS , ... |
4D SVG | Create and manipulate common svg graphic objects | SVGTool_Display_viewer , multiple SVG_ methods |
4D ViewPro | Spreadsheet features in your forms | See 4D View Pro documentation |
4D Widgets | Manage DatePicker, TimePicker, SearchPicker 4D widgets | DatePicker calendar , DateEntry area , TimeEntry , SearchPicker SET HELP TEXT , ... |
4D WritePro Interface | Manage 4D Write Pro palettes and table wizard | WP PictureSettings , WP ShowTabPages , WP SwitchToolbar , WP UpdateWidget |
Third-party components
You can develop and install your own 4D components. See this page for more information.
Many developers from the 4D community have shared 4D components that you can install and use in you projects.
Browse Github to have a list of public 4D components gathered with the 4d-component
topic.
Plugins
Plugins do things that 4D does not natively (e.g., specific platform technology), or would be very hard to write just using 4D. As described in this page, you can develop your own plug-ins.
A lot of functionnalities are covered by the existing 4D plug-ins. Browse Github to have a list of public 4D plugins gathered with the 4d-plugin
topic.