Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / July 2006

Tip: Looking for answers? Try searching our database.

Outlook Menu style with base forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Suki - 21 Jul 2006 19:25 GMT
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
GAZ - 22 Jul 2006 10:25 GMT
Have you tried using mdi forms? Or have I missed the point of what you are
trying to achieve?

BR,

GAZ

> Hi, I've a problem
>
[quoted text clipped - 20 lines]
>
> Thanks
Suki - 22 Jul 2006 13:22 GMT
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
GAZ - 24 Jul 2006 07:35 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.