Thanks for help me...
My application has:
MdiForm with top Menu
Using the Top Menu I can open other forms that has: BaseForm (with a toolbox
used in all forms and methods) and the content of each specific form
I would like to change the Top Menu of the mdi (or mantain it, adding
another with the same buttons) with Outlook Style Menu...
I have 3 problem:
How Can I modifiy my mdi?
How Can I open the form (when users clicks on button) in new windows??
Do you know a free Outlook Style Menu?
Thanks
You can modify an mdi form as you would any other form. Add controls to it,
add code to it. More or less the mdi form acts as a regular form with one
distinction - it can contain other forms (serves as a container for forms)
whilst the usual forms do not have such possibility.
In order to open other forms within the mdi form use this code (MdiChild is
the name of the form you want to show):
Dim frmMdiChild as MdiChild
frmMdiChild=New MdiChild
frmMdiChild.MdiParent=Me
frmMdiChild.Show
If you do not want to open form as an mdi child but as a 'stand-alone' form
just omitt the MdiParent line.
If you want to have an Outlook style menu I can reccomend the Infragistics
NetAdvantage package but it does not come cheap. Unfortunatelly, I do not
know about any free Outlook-style menu controls.
BR,
GAZ
> Thanks for help me...
>
[quoted text clipped - 15 lines]
>
> Thanks
Suki - 25 Jul 2006 22:58 GMT
Thanks for all informations
but where I must to insert this code
> Dim frmMdiChild as MdiChild
> frmMdiChild=New MdiChild
> frmMdiChild.MdiParent=Me
> frmMdiChild.Sho
in the mdiform or in the other forms??
> If you do not want to open form as an mdi child but as a 'stand-alone'
> form just omitt the MdiParent line.
Yes I would like to see the Menu in MdiForm and open other forms in a new
windows (over the mdiForm)
Is it possilbe?
Thanks
GAZ - 26 Jul 2006 07:18 GMT
You can insert the code into MenuIterm's click event, or a CommandButton's
click event or any other control/event that you would like to use in order
to open the form. Possibilities are limitless.
BR,
GAZ
> Thanks for all informations
>
[quoted text clipped - 16 lines]
>
> Thanks