I've never used a property page before. I have a class defined in the UserControl, and a copy of that in the property page.

When the property page loads, I need to fill in the current values. And when it closes, I need to update the class defined in the UserControl. ex:

MyControl.ctl
vb Code:
  1. Option Explicit
  2.  
  3. Private m_MyClass As MyClass
  4.  
  5. Public Property Get UCMyClass() As MyClass
  6.     Set UCMyClass = m_MyClass
  7. End Property

I need to be able to access and modify the m_MyClass from the property page.

Would I use SelectedControls(Index).Item(0).UCMyClass ? Or SelectedControls(Index).UCMyClass?