Skip to main content
Table of Contents

TTMSFNCLocalizationCollector.AnalyzeApplication Method

Scans the forms and data modules currently registered with the running application and collects their localizable strings and components.

API unit family: TMS.TMSFNCLocalizationCollector Declaring type: TTMSFNCLocalizationCollector

Syntax

TMS.TMSFNCLocalizationCollector.hppPascalC++
procedure AnalyzeApplication;
void __fastcall AnalyzeApplication();

Remarks

The scan enumerates the application's global list of forms and data modules, so only forms that have already been created and are known to the application are included; forms not yet instantiated are skipped, so re-run this method after creating additional forms to pick them up. In web applications the runtime does not expose a global list of forms, so only the main form is scanned — derive the other forms from TTMSFNCLocalizationForm, which localizes each form on its own, instead of relying on this method.