Method: RemoveAll for SelectedObjects
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Methods > Method: RemoveAll for SelectedObjects
Method: RemoveAll for SelectedObjects
Deselects all selected objects in DIAdem REPORT.
Object.RemoveAll()
Object | SelectedObjects Object with this method |
The following example displays the number of selected objects and deselects the objects:
VBScript | Python |
Dim oMyReportObj Set oMyReportObj = Report.SelectedObjects If oMyReportObj.Count > 0 Then 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 End If