Sorry, but I do not understand what exactly you want to do ?
In the common click event you get the xGaugesRect which raised the event.
Therefore, what do want to do ?
Not enough information to help.
As DonManfred already suggested post a small project to show the problem.
I made a small test program with 3 xGaugesRect in the layout.
And the code of the xGaugesRect_Click event.
Private Sub xGaugesRect_Click
Private Gauge As xGaugesRect
Private Parent As B4XView
Gauge = Sender ' the xGaugeRect which raised the event
Log(Gauge.GaugeTitle)
Parent = Gauge.mBase.Parent 'gets its parent, the Parent is not exposed directly.
Log(Parent.NumberOfViews)
For i = 0 To Parent.NumberOfViews -1
Private g As xGaugesRect
g = Parent.GetView(i).Tag 'gets the xGaugeRect with its given index
Log(g.GaugeTitle)
Next
End Sub