4D v14.3

COMPONENT LIST

Home

 
4D v14.3
COMPONENT LIST

COMPONENT LIST 


 

COMPONENT LIST ( componentsArray ) 
Parameter Type   Description
componentsArray  String array in 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):

  • the Components folder that is next to the 4D application executable file,
  • and the Components folder that is next to the structure file (if any). 

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.

 
PROPERTIES 

Product: 4D
Theme: 4D Environment
Number: 1001

 
HISTORY 

Created: 4D v11 SQL

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)