RVA_LocalizeForm Procedure

Top  Previous  Next

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 TRVAControlPanel.Language, or by RVA_GetLanguageName function.

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

See also:

RVALocalize unit.


RichView © Sergey Tkachenko