borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2011 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Error message about common dialog control) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Resizing MDI Child form similar to MDI Parent Solved Topic
Poster Message
vbLearner
Level: Big Cheese

Registered: 21-04-2006
Posts: 22

icon Resizing MDI Child form similar to MDI Parent

Guys,,


I'm creating a Program with MDI parent form and some mdi child form. When i tried to show a child form doesn't maximize the child form even i already set its window state in maximize.

what is this .. in vb6 it is easy to do that but here.. its hard to create

FYI im using visual studion 2005

guys please help me on this..


thanks in advance.

vblearner



09-02-2010 at 09:01 AM
View Profile Send Email to User Show All Posts | Quote Reply
Keithuk
Level: Professor


Registered: 02-11-2006
Posts: 71
icon Re: Resizing MDI Child form similar to MDI Parent

quote:
vbLearner wrote:
FYI im using visual studion 2005


Well I'm not sure where you have posted your other 20 posts but if your using VB.Net 2005 then I think this would be better suited in the VB.Net forum.


____________________________
Keith

http://www.martin2k.co.uk/forums/index.php?act=idx

I've been programming with VB for 15 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
18-02-2010 at 01:03 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 611
icon Re: Resizing MDI Child form similar to MDI Parent

Put this in the forms New() sub (or any event from a button click etc.)
Me.WindowState = FormWindowState.Maximized


____________________________
multi-tasking - the ability to hang more than one app. at the same time.

18-02-2010 at 03:33 PM
View Profile Send Email to User Show All Posts | Quote Reply
vbLearner
Level: Big Cheese

Registered: 21-04-2006
Posts: 22
icon Re: Resizing MDI Child form similar to MDI Parent

thanks to all of you guy.. i put a me.windowstate=formwindowstate.maximised at geoffs said..


thank you very much this works.

vblearner

28-02-2010 at 02:16 PM
View Profile Send Email to User Show All Posts | Quote Reply
SaundraPearse
Level: Trainee

Registered: 01-03-2011
Posts: 1
icon Re: Resizing MDI Child form similar to MDI Parent

VB learning was fun in those days.

senuke x

[Edited by SaundraPearse on 23-03-2011 at 07:44 PM GMT]

01-03-2011 at 03:39 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Resizing MDI Child form similar to MDI Parent Solved Topic
Next Topic (Error message about common dialog control) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2011 Andrea Tincaniborder