Outlook Menu style with base forms

  • Thread starter Thread starter Suki
  • Start date Start date
S

Suki

Hi, I've a problem

I've a project with many forms that uses a baseform

FormX:baseForm
FormY:baseForm
FormZ:baseForm

I would like make a changes:

create a left Outlook Menu used in all forms ... and see my FormX/Y/Z in the
right area!!

I can't use panels because I can't insert 20 panels with the content of 20
forms in a unic form

Somebody Can Help me?? I would like to have:

BaseForm with my methods and Menu (that runs my forms)
Forms that uses BaseForm and see Outlook Menu (and allow to run other form
using the Menu)


Thanks
 
Have you tried using mdi forms? Or have I missed the point of what you are
trying to achieve?

BR,

GAZ
 
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 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
 
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
 
Back
Top