![]() |
|
|||||||
| Windows Forms Discussion related to Winforms application development |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
How do I programmatically layout the child forms in MDI container?
For example, is there an MDI command for - Cascade windows - Tile Vertical - Tile Horizontal etc. I want to know how the MDI does this. I think it is not exposed when you use the Standard menu items and as such, I want to know how it is done. Thanks. |
|
|||
|
You may layout mdichildren using LayoutMdi method
for example, Code:
Me.LayoutMdi(MdiLayout.TileHorizontal) Me.LayoutMdi(MdiLayout.TileVertical) Me.LayoutMdi(MdiLayout.Cascade) Me.LayoutMdi(MdiLayout.ArrangeIcons) Hope this helps you
__________________
--=A J E E S H=-- |
|
||||
|
The MSDN documentation for the IsMdiContainer property, which you must already be setting, has a link to a topic entitled "Multiple-Document Interface (MDI) Applications". That topic has a link to a topic entitled "How To: Arrange MDI Child Forms". Microsoft don't hide this information but if you don't look then of course you won't find.
__________________
Essential: Multiple Forms ● 101 Samples: 2002 | 2003 | 2005 ● Free Components: WFC | XPCC | ElementsEx | VBPP | ADO.NET/MySQL | VisualStyles | NPlot | SDF ● Tutorials: Home & Learn | Start VB.NET | Learn VB.NET ● Favourites: MSDN | WinForms.NET | ASP.NET | WinForms FAQ | WebForms FAQ | GotDotNet | Code Project | DevBuzz |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|