[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Finds the data module with the specified name.
Source position: forms.pp line 1231
public function TScreen.FindDataModule( |
const DataModuleName: string |
):TDataModule; |
DataModuleName |
|
Name for the data module to locate in the method. |
TDataModule instance with the specified name, or Nil.
FindDataModule is a TDataModule function used to get the data module with the name specified in DataModuleName.
FindDataModule visits each of the data modules in the internal list to find the TDataModule instance with the specified name in its Name property. CompareText is called to perform a case-insensitive comparison for the values.
The return value is the TDataModule instance with the name in DataModuleName, or Nil when the internal list is empty or DataModuleName is not found in the list.
|
Finds a data module with the specified name, excluding designer data modules. |
Version 3.2 | Generated 2024-02-25 | Home |