This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
COMPONENT LIST

COMPONENT LIST 


 

COMPONENT LIST ( componentsArray ) 
Parameter Type   Description
componentsArray  Text 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 structure file (if any),
  • the Components folder that is next to the 4D application executable file.

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.



See also 

PLUGIN LIST

 
PROPERTIES 

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

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v11 SQL

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)