-
February 19th, 2006, 03:24 AM
#1
switching between the forms
hi friends
how to switch between the forms
i have MDI and three forms in this MDI SO when i open the first form and then open the second one it close the first one and again i can open the first one all this done from menu bar.
code please
thank u
-
February 19th, 2006, 04:24 AM
#2
Re: switching between the forms
Unload the other forms in your menu click event.
-
February 19th, 2006, 11:42 AM
#3
Re: switching between the forms
if i understood well, u mean that when u open each form, each new form is appeared onto the previous one.
in that case u have to declare the specific place into the mdi form that u want to load each form.
eg.
Me.Left = (mdiMain.Width - Me.Width) / 2
Me.Top = (mdiMain.Height - Me.Height) / 2
this code will load each form into the center of the mdi. if you "play" with the numbers + or - 50,120... u will have different positions.
hope that is the answer that u want.
good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|