Property: IsSelected for 2DTable

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2012 Help
DIAdem 2014 Help
DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help

Specifies whether a 2D table is selected in DIAdem REPORT. The selected element can never be the main object and the Type can never have the value -1.

Object.IsSelected
Object2DTable
Object with this property
Object.IsSelectedBoolean value with read access
If the 2D table is selected, the IsSelected property is TRUE, otherwise FALSE.

The following example displays the selected 2D tables:

Dim oMyReportObj, oMyReportObjects, sOutput
Set oMyReportObjects = Report.ActiveSheet.Objects
sOutput = ""
For Each oMyReportObj in oMyReportObjects
  If oMyReportObj.ObjectType = eReportObject2DTable Then
    sOutput = sOutput & "Object " & oMyReportObj.Name & " is selected: "& oMyReportObj.IsSelected & VBCrLf
  End If
Next
Call MsgBoxDisp(sOutput)

WAS THIS ARTICLE HELPFUL?

Not Helpful