PslSourceList.Close

Closes a string list, if it is open.

Syntax

Expression.Close (Savechanges as Variant) as Boolean

Expression Required. Object of type PslSourceList

Savechanges Variant, optional. Specifies the method of handling the string list, if it was changed but not yet saved. The following values are possible:

pslSaveChanges (default, Value = 0) : The string list will be saved

pslPromptToSaveChanges (Value = 1): Message will be displayed, so that the user can decide, if he wants to save the string list or not.

pslPromptWithCancel (Value = 2): A message will be displayed similar to pslPromptToSaveChanges. Additionally the message will contain a [Cancel]-Button, so that the user can stop closing the string list.

pslDoNotSaveChanges (Value = 3): The string list will be closed without saving the changes.