Properties from another Form

  • Thread starter Thread starter Ben dotNet
  • Start date Start date
B

Ben dotNet

I would like to get the width property of an active mdiform from a child
form.

How can I access this property? (vb.Net)

Thanks
--Ben
 
* "Ben dotNet said:
I would like to get the width property of an active mdiform from a child
form.

\\\
DirectCast(Me.MdiParent.ActiveMdiChild, MyMdiChildClass).TheProperty = TheValue
///
 
I need to reverse your solution...

I would like to access the active mdiparent form properties from the child
form.

--Ben
 
* "Ben dotNet said:
I would like to access the active mdiparent form properties from the child
form.

\\\
DirectCast(Me.MdiParent, MainForm).TheProperty = TheValue
///
 
Back
Top