|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
frmParent frmChild1 frmChild2 I use a menu and do a: Dim frm As New frmChild1 frm.MdiParent = Me frm.Show() from the parent form. This works fine. I need to call frmChild2 from the frmChild1 form sometimes as well as from the parent form. I can call it from the parent ok, but I cant figure out the code to call it from the child1 form AND make it stay as a MDI child of the parent form. (it just displays it as a single window.) How can I show frmChild2 form from the frmChild1 form and keep it as an MDI child of the parent? I need to replace the ME with something else I guess in the child1 form, but cant find the code combination Thanks Hi,
Try this... Dim frm as New frmChild2 frm.MdiParent = me.MdiParent frm.Show HTH Barry Thanks, worked..
Show quoteHide quote "Barry" <barry.ocon***@manx.net> wrote in message news:1147891556.249747.67420@y43g2000cwc.googlegroups.com... > Hi, > > Try this... > > Dim frm as New frmChild2 > > frm.MdiParent = me.MdiParent > > frm.Show > > HTH > > Barry >
Get Element Value
MAPI mail Listbox problem Using Office functions question - type mismatch error how to go to specific row in hashtable based on value - not key? Maximum number of controls in a form iDisposable and database connection to SQL How To Create New Form From Form Or Tabs On A Form how to add a reference in asp.net/vb.net? Different versions of Office |
|||||||||||||||||||||||