11-16-2015 02:16 AM
Hi,
I'm trying to build an interface that allows a user to run a deeper analysis based on what he sees on a report, and for that I need to be able to get the information of which element of my report the user is clicking on. I have looked pretty much everywhere, from the Diadem help to forums to the wider internet, and was surprised to find absolutely nothing on the subject. So I am wondering if it is at all feasible, and if it is, what am I missing?
Many thanks in advance for any information you might provide
Solved! Go to Solution.
11-16-2015 02:44 AM
Hello MaxLek,
It is possible to get the information about the selected objects in REPORT. Here is an example.
dim iLoop, oCurrSelection
set oCurrSelection = Report.SelectedObjects
for iLoop = 1 to oCurrSelection.Count
select case oCurrSelection(iLoop).ObjectType
case 0
msgbox "2D-Axis"
case 1
msgbox "2D-Table"
case 2
msgbox "Polar"
case 3
msgbox "3D-Axis"
case 4
msgbox "3D-Table"
case else
msgbox "all other"
end select
next
Hope this helps.
Greetings
Walter
11-16-2015 03:01 AM
That's perfect, thanks so much Walter
regards,
Max