Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Modernize MDI Apps

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
Pavel
Beginner User
Beginner User


Joined: 07 May 2004
Posts: 11

Post Post subject: Modernize MDI Apps Reply with quote

Hi everyone

I want to make my MDI form looks good. as I have seen that VB Menu Bar has little options to make it graphically. Searching on net, I have got a writing like:
------------------
begin of artical
--------------------
Expertise: Beginner
Language: Visual Basic
Modernize Your MDI Apps

The MDI look seems to have gone out of favor recently, judging from the popularity of the Explorer and Outlook styles in modern apps. Maybe that’s because of the inconvenience of all those windows cluttering up the place, when only one is required at a time. However, you can convert an MDI app to an Explorer-style app quickly. First, add a header bar, which in effect replaces the title bar of the child form. This can have your document name and properties on it. To implement this, add a PictureBox to the MDI form, and set its Align property to 1 - AlignTop. Next, add a navigation bar. You typically place a TreeView or similar control here to provide a more intuitive way to locate and open views or items. This is also a PictureBox, but with its Align property equal to 3 - Align Left (resize the PictureBox to an acceptable width after doing this). Then, for each of your MDI child forms, set these properties:

Caption: "" (Empty string).
ControlBox: False
WindowState: 2 - Maximized
Now change your code so the forms are loaded from the navigation bar instead of through the menus. Note that when MDI child forms are loaded, they appear to fill the entire remaining client space of the MDI form. However, without the control box, minimize, restore, and close icons that would normally be just below the title bar.

Mark Bertenshaw
-----------------
end of artical
-----------------

I read it, but couldn't understand it really. Can anyone help me to understand the topic and give some more description of how I can do the described job? Any other solution for similar task, will be received with joy...

-----------
pavel
Sun May 16, 04 12:17 pm
Back to top
Pavel View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group