what was the final outcome of this. say bluedude has three views, 'view1', 'view2' and 'view3'. he loads the scrollviewer as follows, and for the sake of argument, used Generate Members to define all of the views for clicks:
Dim p1, p2, p3, p4 As Panel
p1.Initialize("p1")
p2.Initialize("p2")
p3.Initialize("p3")
p4.Initialize("p4")
p1.LoadLayout("view1")
svAppointments.Panel.AddView(p1,0,10,1080,60)
p2.LoadLayout("view2")
svAppointments.Panel.AddView(p2,0,20,1080,60)
p3.LoadLayout("view1")
svAppointments.Panel.AddView(p3,0,30,1080,60)
p4.LoadLayout("view3")
svAppointments.Panel.AddView(p4,0,40,1080,60)
how will bluedude know whether label1_Click was p1 or p3?