Description
Localize a control, a form or a collection of controls.
-
Return Type
-
None
-
Syntax
-
object.LocalizeControls UIObject, [Module], [Localizable]
The LocalizeControls Method syntax has these parts: |
| object | An expression evaluating to an object of type McApplication. | | UIObject | Required. A Variant value. A VB UserForm, UserControl, Controls collection or any other object with suitable properties.
| | Module | Optional. A String value. The module for which the translation should be done. This is used to resolve possible conflicts when a single english word has different translations for different contexts.
| | Localizable | Optional. A String value. A list of properties to localize, defaults to Caption,ToolTipText.
| Remarks
This method uses IDispatch calls to translate the properties listed in Localizable. Then, if UIObject is a collection, it does the same for each object in the collection.
|