DeselectAll Method
The DeselectAll method cancels the current selection in the panel.
Syntax
DeselectAll([save])
Parameters
save
Optional. Boolean value determining whether the current selection should be saved before it is canceled. By default the selection is not saved. For more information, see the following Remarks section.
Return Values
This method does not return a value.
Remarks
To be consistent with other Sally operations, the script should use this method to cancel the selection after it finishes operating on the panel contents. Before deselecting the items, the script should use the StoreSelection method to save the selection so the user can apply another operation to the same files and directories. Alternatively, the script can save and cancel the selection in one step by calling this method with the save parameter set to true.
See Also
From the Sally manual (GPL-2.0-or-later), © 1997-2023 Open Salamander Authors; © 2025-2026 Elias Bachaalany. Source: manual source (zip) · original page in the Sally repository