B
Bernie Yaeger
I asked two fairly simple questions, or so I thought, but have received no
ideas at all.
1. What is the control that MS uses in Outlook Express that contains
attachments? It appears to be a multicolumn listbox but the # of columns is
somehow fixed and it contains icons as well as text.
2. When I add a main menu to a child form in an mdi app, and use this code,
the
menu does not merge (I do not want it to merge with the parent's menu):
Dim i As Integer
For i = 0 To MainMenu1.MenuItems.Count - 1
MainMenu1.MenuItems(i).MergeType = MenuMerge.Remove
Next
But I want the menu to appear on the child form, and it does, so long as I
don't really make it a child. If I call it like this:
Dim newmdichild As New buttonstest
'newmdichild.MdiParent = Me
newmdichild.Show()
it's a happy camper, but it is not a child form and it disappears behind the
mdi parent when it doesn't have focus. But when I uncomment
'newmdichild.mdiparent = me, the form is now a child form but it has no
menu!
What I want is for it to have its own menu and be a child form at the same
time. How can this be done?
Tx for any help.
Bernie Yaeger
ideas at all.
1. What is the control that MS uses in Outlook Express that contains
attachments? It appears to be a multicolumn listbox but the # of columns is
somehow fixed and it contains icons as well as text.
2. When I add a main menu to a child form in an mdi app, and use this code,
the
menu does not merge (I do not want it to merge with the parent's menu):
Dim i As Integer
For i = 0 To MainMenu1.MenuItems.Count - 1
MainMenu1.MenuItems(i).MergeType = MenuMerge.Remove
Next
But I want the menu to appear on the child form, and it does, so long as I
don't really make it a child. If I call it like this:
Dim newmdichild As New buttonstest
'newmdichild.MdiParent = Me
newmdichild.Show()
it's a happy camper, but it is not a child form and it disappears behind the
mdi parent when it doesn't have focus. But when I uncomment
'newmdichild.mdiparent = me, the form is now a child form but it has no
menu!
What I want is for it to have its own menu and be a child form at the same
time. How can this be done?
Tx for any help.
Bernie Yaeger