Table of Contents

TTMSFNCLocalizationDeclaredModule Record

One design module as the project declares it. Filled in by the design-time scan; the collector never produces these itself.

API unit family: TMS.TMSFNCLocalizationCollector

Syntax

TTMSFNCLocalizationDeclaredModule = record

Fields and properties

Name Type Description
Category string SForms or SDataModules.
FileName string Full path of the module's source file, as the project reports it. This is what the open-module action hands back to the IDE, so it is the only field that identifies the module on disk rather than by name.
FormName string IOTAModuleInfo.FormName. This is the form's Name property, and GetElementKey keys a root by exactly that, so the two match directly.
UnitFile string The file name stem, e.g. 'UMain' for 'C:...\UMain.pas'. Matched as well as UnitName, because the two are normally identical and comparing both means an unexpected value in either one cannot silently defeat the provenance test.
UnitName string The unit the module lives in, from IOTAModuleInfo.Name. Matched against a root's ElementUnitName to establish where that root came from.