RVA_LocalizeForm Procedure

<< Click to display table of contents >>

RVA_LocalizeForm Procedure

Applies the current language to all RichViewActions on Form.

Unit RichViewActions.

procedure RVA_LocalizeForm(Form: TComponent);

Form is a form or datamodule. This procedure changes Captions and Hints of all actions (inherited from TrvCustomAction) owned by this form/datamodule.

The name of the current language is returned as Action.GetControlPanel.Language.

The current language can be changed by assigning a new value to TRVAControlPanel.Language, or by calling RVA_SwitchLanguage procedure.

See also:

RVALocalize unit.