RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScreen.DataModules Property

Lists all the data modules that are currently instantiated in the application.

Pascal
property DataModules [Index: Integer]: TDataModule;
C++
__property TDataModule DataModules[int Index];

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!