Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a Form vbModal for only one form in the application

Status
Not open for further replies.

ToshTrent

Technical User
Jul 27, 2003
209
0
0
Hi,

In my application I have two forms which can be worked on at any one time, when the user selects an option on Form1, Form3 is shown, I need Form3 to be vbModal for only Form1 and not affecting Form2.

How can I do this? - I've tried,
[blue]form3.show vbmodal, form1[/blue]
[red] - No Luck There...[/red]

I hope this makes sense,

Thanks

Matt.
 
' on load 1.form , the 2.form is opend as modal ,

Private Sub MDIForm_Activate() < 1.form
On Error Resume Next
If Global_.LoginFrm = False Then
LoginForm.Show vbModal, Me '1.form
End If
End Sub

might help
 
since there are 2 forms to load a single third form, i think the code which u have specified works around.

In form1 load the form3 using
form3.show vbmodal
In form2 load the form3 using
form3.show

I think this should work.

For this i think that the form1 and form2 forms should be in maximized state to work with.

Kiran.
 
Thnx,

What I need though is for the user to continue working on Form2 (the application) while they have the message window also open, they can select the users to send a message to by opening another form, (userform) I need the UserForm to be vbModal to MessageForm, but not affecting ApplicationForm at all.

Cheers.
Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top