|
-
Feb 7th, 2007, 09:50 AM
#1
Thread Starter
Addicted Member
-
Feb 7th, 2007, 09:55 AM
#2
Re: Parent - Child MDI Form Problem ( Looks )
2)
VB Code:
Private Sub MDIForm_Load()
mnuforms.Enabled = False
mnulogout.Enabled = False
End Sub
Please mark you thread resolved using the Thread Tools as shown
-
Feb 7th, 2007, 09:57 AM
#3
Re: Parent - Child MDI Form Problem ( Looks )
3)
VB Code:
Private Sub mnulogin_Click()
login.Show
mnuforms.Enabled = True
mnulogout.Enabled = True
mnulogin.Enabled = False
End Sub
Please mark you thread resolved using the Thread Tools as shown
-
Feb 7th, 2007, 09:58 AM
#4
Re: Parent - Child MDI Form Problem ( Looks )
4)
VB Code:
Private Sub mnuform1_Click()
If Form2.Visible = True Then Unload Form2
Form1.Show
End Sub
Private Sub mnuform2_Click()
If Form1.Visible = True Then Unload Form1
Form2.Show
End Sub
Please mark you thread resolved using the Thread Tools as shown
-
Feb 7th, 2007, 10:00 AM
#5
Hyperactive Member
Re: Parent - Child MDI Form Problem ( Looks )
There is a demo app/code on the net called VBDraw that is a really good example of decently complex mdi form/menu stuff..
-
Feb 7th, 2007, 10:18 AM
#6
Thread Starter
Addicted Member
Re: Parent - Child MDI Form Problem ( Looks )
 Originally Posted by danasegarane
4)
VB Code:
Private Sub mnuform1_Click()
If Form2.Visible = True Then Unload Form2
Form1.Show
End Sub
Private Sub mnuform2_Click()
If Form1.Visible = True Then Unload Form1
Form2.Show
End Sub
looks good but what if the person changes from form1 to form2 using a button within the form and not the menu??
can u please edit and update the attachment and reupload ??/
-
Feb 7th, 2007, 10:21 AM
#7
Re: Parent - Child MDI Form Problem ( Looks )
Dear Khandu,
I have to upload something, Then I have to get the approval from my GM.So it is not possible.You tell the problem.I will help as much I can
Please mark you thread resolved using the Thread Tools as shown
-
Feb 7th, 2007, 10:33 AM
#8
Thread Starter
Addicted Member
Re: Parent - Child MDI Form Problem ( Looks )
np
see.. u have done is that if frm1 is there then it will unload it and frm2 will load..
but what if there are 20+ forms and dont knw what is open.. then how will it close the current window and open the one requested..
not more than 1 form can be open at any given time.. thats my basic need.. and all should be in center of parent MDI
-
Feb 7th, 2007, 10:34 AM
#9
Thread Starter
Addicted Member
Re: Parent - Child MDI Form Problem ( Looks )
 Originally Posted by triggernum5
There is a demo app/code on the net called VBDraw that is a really good example of decently complex mdi form/menu stuff..
googled but couldnt find nethin..
can u give a link ??
-
Feb 7th, 2007, 10:38 AM
#10
Re: Parent - Child MDI Form Problem ( Looks )
Please mark you thread resolved using the Thread Tools as shown
-
Feb 7th, 2007, 10:54 AM
#11
Fanatic Member
Re: Parent - Child MDI Form Problem ( Looks )
i would make a sub that will go through and unload every form except the main MDI form, and everytime you click something to open a new form, it will run that sub, and then open the one your trying to open.
-
Feb 7th, 2007, 12:16 PM
#12
Thread Starter
Addicted Member
Re: Parent - Child MDI Form Problem ( Looks )
now thats a very nice idea.. cause there are only 20+ forms and although it wont be professional coding i guess, i can still do it
thanks PMad
resolved
-
Feb 7th, 2007, 12:17 PM
#13
Thread Starter
Addicted Member
Re: Parent - Child MDI Form Problem ( Looks )
repped PMad and danasegarane
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
|