Collection: SelectedObjects
- Updated2024-09-12
- 1 minute(s) read
(Collections | Report) > Collection: SelectedObjects
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:
VBScript | Python |
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