DIAdem-Hilfe

Collection: SelectedObjects

  • Aktualisiert2024-09-12
  • 1 Minute(n) Lesezeit

Collection: SelectedObjects

Collection of all ReportObject objects in DIAdem REPORT. Use the SelectedElements collection to access a selected element.

The following example displays the number of selected objects and deselects the objects:

VBScriptPython

 

Dim oMyReportObj
Set oMyReportObj = Report.SelectedObjects
If MsgBoxDisp("Number of selected object: " & oMyReportObj.Count & vbCrLf & _
  "Do you want to remove selection?","MB_YesNo","MsgTypeNote") = "IDYes" then
  Call oMyReportObj.RemoveAll()
End If

Properties

Count

Methods

Exists | Item | RemoveAll

Returned From

Report.SelectedObjects