DIAdem Help

Method: RemoveAll for SelectedObjects

  • Updated2024-09-12
  • 1 minute(s) read

Method: RemoveAll for SelectedObjects

Deselects all selected objects in DIAdem REPORT.

Object.RemoveAll()
ObjectSelectedObjects
Object with this method

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

VBScriptPython

 

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

Log in to get a better experience