Items Collection

Represents a collection of Item objects within a panel.

Properties

Name Description
Count Gets the number of items in the collection.
Item Gets an item for the specified key.

Example

VBScript

Dim TotalSize
TotalSize = 0
for each Item in Salamander.SourcePanel.Items
  TotalSize = TotalSize + Item.Size
next
Salamander.MsgBox("Total size of all items in the panel: " +
  CStr(TotalSize) + " bytes")

See Also

Item Object

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