|
-
Nov 30th, 2002, 04:49 AM
#1
Thread Starter
Fanatic Member
control collection in host Application
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
Last edited by vishalmarya; Dec 1st, 2002 at 03:12 AM.
-
Dec 1st, 2002, 09:25 AM
#2
Thread Starter
Fanatic Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|