Documentation Center

PassoloApp.BeforeUpdateSourceList

Event handler for the before update source list event.

Syntax

BeforeUpdateSourceList (SourceList as PslSourceList, Abort as Boolean) as void

SourceList The source list to be updated

Abort Setting this value to True aborts the current operation.

Example

Public Sub PSL_BeforeUpdateSourceList(SourceList As PassoloA.PslSourceList, Abort As Boolean)
  PSL.Output "Number of strings before update: " & Str(SourceList.StringCount)
End Sub

Public Sub PSL_AfterUpdateSourceList(SourceList As PslSourceList, ByVal Error As Boolean)
  PSL.Output "Number of strings after update: " & Str(SourceList.StringCount)
End Sub