Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Interface and Graphics > Custom mdiform


Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2003, 10:00 PM
shahrinn's Avatar
shahrinn shahrinn is offline
Centurion
 
Join Date: Apr 2003
Posts: 101
Default Custom mdiform


i want to make a standard form to act as mdiparent..

thanx
Reply With Quote
  #2  
Old 04-08-2003, 10:05 PM
dianecandice's Avatar
dianecandice dianecandice is offline
Junior Contributor
 
Join Date: Mar 2003
Posts: 222
Default

just make sure that the form's mdichild property is set to false, and then set all other form's mdichild property to true.
Reply With Quote
  #3  
Old 04-08-2003, 10:11 PM
shahrinn's Avatar
shahrinn shahrinn is offline
Centurion
 
Join Date: Apr 2003
Posts: 101
Thumbs up

Quote:
Originally Posted by dianecandice
just make sure that the form's mdichild property is set to false, and then set all other form's mdichild property to true.


thanx to your answer but can the child form resize or minimized when the parent resize or minimized
Reply With Quote
  #4  
Old 04-09-2003, 07:14 AM
Machaira's Avatar
Machaira Machaira is offline
Jedi Coder

* Expert *
 
Join Date: Aug 2002
Location: Abingdon, MD
Posts: 3,438
Default

Any MDI child will of course be minimized if the parent is minimized. As for the resizing, put code in the parent's Resize event to resize the child:
Code:
Private Sub MDIForm_Resize() Form1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
form1 always on top in ((MDIForm))!!! yasermirza Interface and Graphics 1 03-24-2003 07:15 AM
Custom common dialog ? Garmour General 2 02-05-2003 10:18 AM
Custom cursors for Treeview? Infector General 0 11-30-2002 01:52 AM
Custom Database Properties strBean Word, PowerPoint, Outlook, and Other Office Products 0 06-20-2002 06:59 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->