Items 集合

表示面板中 Item 对象的集合。

属性

名称 说明
Count 获取集合中的项目数量。
Item 获取指定键对应的项目。

示例

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")

另请参阅

对象 Item

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