Written some cool source code? Upload it to Programmer's Heaven.

VB.NET

Moderators: seancampbell
Number of threads: 3618
Number of posts: 9200

This Forum Only
Post New Thread

Report
MDI-PARENT inside MDI-CHILD Forms Display Posted by MAHEY on 2 Mar 2009 at 1:28 AM
I have some clarifications please

form1.windowstate=maximized
form1.text="FORM-1 TEXT"

and in mdi-parent as form-2

form2.windowstate=maximized
form2.text="FORM-2 TEXT"

My Problem is when I click on ToolStripMenuItem it's displaying like the following

1-line "Form-1 Text"
2-line "Icon & Maximize & Minimize & Control Box buttons"
3-line "Toolstrip-1"
4-line "Tollstrip-2"

How to avoid this 2nd line?

Report
Re: MDI-PARENT inside MDI-CHILD Forms Display Posted by seancampbell on 2 Mar 2009 at 6:38 AM
I am not exactly understanding what you are stating here. Are you saying you would like to remove one of the items that your ToolStripMenu has?

When you click on ToolStripMenuItem it is displaying that text? How is it displaying it? Are you stating that is being displayed during Execution or in the windows form designer?
Report
Re: MDI-PARENT inside MDI-CHILD Forms Display Posted by MAHEY on 2 Mar 2009 at 8:21 AM
Hi Seen,
Well & thanks for your reponse. Now I found the answer.It may be useful to someone like me.

Actually Iam trying to display the mdichildren forms, from mdiparent-form's-toolstrip DropdownButton.

Answer :-

Form3.MdiParent = Me
Form3.Dock = DockStyle.Fill
Form3.Show()

the above codes displays the mdichildren form as full screen within the mdiparent form.

Report
Re: MDI-PARENT inside MDI-CHILD Forms Display Posted by seancampbell on 2 Mar 2009 at 11:40 AM
Ohhhh, I understand what you were asking now.

I am sorry, I didn't understand your question

Happy Coding!!
Sean Campbell



 
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A bootstrapLabs project.