Vcl.Forms.TScreen.DataModules
Delphi
property DataModules[Index: Integer]: TDataModule read GetDataModule;
C++
__property System::Classes::TDataModule* DataModules[int Index] = {read=GetDataModule};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TScreen |
Description
Lists all the data modules that are currently instantiated in the application.
Use DataModules to access an instantiated data module by index. The value of Index is a number between zero (the first data module) and DataModuleCount - 1. DataModules can be used with DataModuleCount when an application needs to iterate over all its data modules.