Table of Contents

TTMSFNCLocalizationForm Class

Base form that localizes itself automatically. A form derived from this class is translated into the active language when it is created and re-translated whenever the active language changes, without any additional code and regardless of the localizer start mode.

API unit family: TMS.TMSFNCLocalizationForm Inherits from: TForm

Syntax

TTMSFNCLocalizationForm = class(TForm)

Remarks

Because a derived form drives its own localization, keep the localizer on its manual start mode when relying on this base class.

Methods

Name Description
AfterConstruction Localizes the form into the active language and subscribes it to language-change notifications.
LoadedDone Localizes the form into the active language and subscribes it to language-change notifications.

Used by