zduck
10-19-2003, 04:15 PM
On a page I have a usercontrol (uc1) and in uc1 I have another usercontrol (uc2). uc2 needs to pass data to a property of uc1. How can I do this? I tried the following but it said 'The specified cast is not valid'.
Dim p as Zword.UC1 = me.Parent 'line that drew error.
p.MyProperty = whatever
Thanks for your help.
Dim p as Zword.UC1 = me.Parent 'line that drew error.
p.MyProperty = whatever
Thanks for your help.