FMX.Forms.TScreen.DataModules

From RAD Studio API Documentation
Jump to: navigation, search

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
FMX.Forms.pas
FMX.Forms.hpp
FMX.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 in the range from zero (the first data module) through DataModuleCount - 1. DataModules can be used with DataModuleCount when an application needs to iterate over all its data modules.

See Also