Well it seems that the Container in Container was fixed
[code] dim w As New vdSearch
dim x, y As Integer
x = me.Left + self.Left + self.Window.Left + Window(0).Left
y = me.Top + Self.Top + Self.Window.Top + Window(0).Top
dim location As Integer
If Position = 0 Then
w.displayPopoverAt(x - self.Width + me.Width ,y + me.Height/2, 1)
Else
w.displayPopoverAt(x + me.Width,y + me.Height/2,3)
End If
[/code]
With the Window(0) coordinates.