Project.String



String(strKeyId As String) As String

Parameters

strKeyId As String
A string which defines the key word. For example: "@Plant"
ED
not used
RT
avaliable

Remarks

With this method texts from the language table can be translated. The key of a string has to be given with strKeyId. The translated string in the language of the Runtime is returned.

Sample:


Keyword in Language table: Plant
At table ZENONSTR.TXT: Plant
At table GERMAN.TXT: Anlage


Sub ReadLanguageString()

'Reads the keyyword "@Plant" and shows the translation in the selected language
'Returns "Anlage" when the GERMAN.TXT is selected
MsgBox thisProject.String("@Plant")

End Sub


See Also

Project