Documentation Center

PslTransList.String

Returns a PslTransString-Object from the list. If the list was closed, it will be opened by the way.

Syntax

Expression.String (Index as VARIANT, optional Type as VARIANT) as PslSourceString

Expression Object of type PsTransList

Index Depending on the Type this is either an index or a number.

Type Can be one of the following values:

  • pslIndex (default, Value = 0): A string from the translation list is returned. Index is the Index of the string, corresponding to all existing undeleted strings. The first string has got the Index 1.
  • pslIndexDeleted (Value = 4): Works like pslIndex but returns deleted strings from the recycle bin.
  • pslDisplay (Value = 1): A string from the current display is returned. Index is the Index of the string, corresponding to all displayed strings. The first string has got the Index 1. This value is supported for backward compatibility only. See the note below.
  • pslSelection (Value = 2): A selected string from the current display is returned. Index is the Index of the string, corresponding to all selected strings. The first selected string has got the Index 1. This value is supported for backward compatibility only. See the note below.
  • pslNumber (Value = 3): A string from the translation list is returned. Index is the Number of the string. The number is assigned when scanning a source file and will not be changed by update operations like adding or deleting string objects.