Documentation Center

PslSourceList.Selected

Returns or sets the selected state of this source string list in the project window.

Syntax

Expression.Selected as Boolean

Expression Required. Object of type PslSourceList

Example

' Print title and language of each selected source string list
' and reset selection
Dim src As PslSourceList
Dim i As Integer
For i = 1 to PSL.ActiveProject.SourceLists.Count
  set src = PSL.ActiveProject.SourceLists(i)
  If src.Selected Then
    PSL.Output src.Title
    src.Selected = False
  End If
Next i