TranslateForm(Control,ILanguageStrings) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The TranslateForm() method recursively descends through all the controls contained within the specified control and translates all the displayed language strings (for example, translates all translatable strings in the controls' Text property). A translatable string is a string with "nnn" within angle brackets appended, where nnn is the string_ID from the Language table.
This overload of the method specifies which language to use to translate the form.
'Declaration
Public Overloads Shared Sub TranslateForm( _
ByVal control As Control, _
ByVal langStrings As Fact.Common.ILanguageStrings _
)
public static void TranslateForm(
Control control,
Fact.Common.ILanguageStrings langStrings
)
Parameters
- control
- Required. Holds a reference to the control that should be translated.
- langStrings
- Required. Holds a reference to the language to use to translate the form.