Button.Localize

Syntax

Button.Localize( sectionName)

Purpose

Localizes the text caption on the button in this control.

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 caption for the control.

When you call this method, the control replaces the caption with the string from the .ini file. If the caption is not a tag in the .ini file, the caption does not change.

Note When you connect this control to a manager control, the manager control automatically sets a localized caption.

Parameters

sectionName As String

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

See Also

ApplicationMgr.LocalizeAllControls