Documentation Center

PassoloApp.ActiveSourceDisplay

Returns the current PslSourceDisplay object, this means the source list window that is just active.

Syntax

Expression.ActiveSourceList as PslSourceList

Expression Required. Object of type PassoloApp

Example

Dim sdisp As PslSourceDisplay
Set sdisp = PSL.ActiveSourceDisplay
If sdisp Is Nothing Then
  PSL.Output 
  "No active source list window found." 
Else
  PSL.Output "Strings in active source list window: " & sdisp.StringCount
End If