This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
COMPONENT LIST
|
COMPONENT LIST ( componentsArray ) | ||||||||
Parameter | Type | Description | ||||||
componentsArray | Text array |
![]() |
Names of the components | |||||
The COMPONENT LIST command sizes and fills the componentsArray array with the names of the components loaded by the 4D application for the current host database.
When a database is opened, 4D loads the valid components found in the Components folder(s):
Reminder: If the same component is placed in both locations, 4D will only load the one located next to the structure.
This command can be called from the host database or from a component. If the database does not use any components, the componentsArray array is returned empty.
The names of the components are the names of the structure files of the matrix databases (.4db, .4dc or .4dbase). This command can be used for setting up architectures and modular interfaces that offer additional functionalities according to the presence of components.
For more information about 4D components, please refer to the Design Reference manual.
Product: 4D
Theme: 4D Environment
Number:
1001
Created: 4D v11 SQL
4D Language Reference ( 4D v20 R7)