collection of controls of the parent form(host Application ) is available in usercontrol by :
usercontrol.parent.controls
How can i get this collection property pages ?
Thanks
Printable View
collection of controls of the parent form(host Application ) is available in usercontrol by :
usercontrol.parent.controls
How can i get this collection property pages ?
Thanks
At last , i figured it out .
( if someone is still interested )
By making a friend function in usercontrol and invoking it from
property Pages.
function :
Friend Function container() As Object
Set container = Extender.Parent
End Function
Statement in property pages
Dim mcntr As usercontrol1
dim cont as object
Set mcntr = SelectedControls(0)
set cont=mcntr.container