ExpressionEdit.Localize

Syntax

ExpressionEdit.Localize( sectionName)

Purpose

Localizes the ToolTipText and ContextMenuItemCaption properties for each ExpressionEditButton and the DisplayName property of each ExpressionEditComboBoxItem.

Remarks

First, update a .ini file located in the TestStand Language directory with the required string. Second, use the string tag in the .ini file as the ToolTipText and ContextMenuItemCaption properties of each button and the DisplayName property of each combo box item.

When you call this method, the control replaces the ToolTipText and ContextMenuItemCaption properties of each button and the DisplayName property of each combo box item with the string from the .ini file. If the ToolTipText , ContextMenuItemCaption , or DisplayName property is not a tag in the .ini file, the property does not change.

Note This method does not localize the ToolTipText of non-custom buttons. Non-custom buttons localize ToolTipText automatically.

Parameters

sectionName As String

[In] Specifies the name of the section in the language files that contains the localized text.

See Also

ExpressionEditButton.ContextMenuItemCaption

ExpressionEditButton.ToolTipText

ExpressionEditComboBoxItem.DisplayName