Solved

Multiple forms locking....

Posted on 2002-06-28
4
153 Views
Last Modified: 2010-05-02
Lets say I have 4 forms (actually way more) but the main form is an MDI form... which opens up an explorer type form.. the explorer type form opens up a customers form..  from the customers form you open up the order form..  Is there a way to set the order form to lock the customers form so it will act like a modal form but just to the customers form?  While at the same time allowing the user to use the explorer form as normal.
0
Comment
Question by:ketapillar
  • 2
4 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 7116336
maybe??

frmOrders.Show
frmCustomers.Enabled = False
0
 
LVL 8

Accepted Solution

by:
glass_cookie earned 100 total points
ID: 7125771
Hi!

How about doing this:

Download...
http://www.vb-helper.com/HowTo/ontop2.zip
Description: Keep a form on top of another, but not on top of all forms (2K)

Oh yes, you'll also have to disable the form before the form that's to be shown on top.

That's it!

glass cookie : )
0
 
LVL 3

Author Comment

by:ketapillar
ID: 7147320
Sorry for taking so long been working on other stuff...

What i did was this

Private Sub Form_Load()
    Form2.Show , Me
    Me.Enabled = False
End Sub

Which was in glass_cookies response (with the exeption of the Me.Enabled statment) what helped me was the "Form2.Show , Me" statement.

I was already playing with the show and enabled property it just wasn't working how i wanted it to so glass_cookie gets the points...

Thanks
0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 7147851
Thanks for the points : )
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to create a duplicate finder Application 9 122
message box in access 4 51
Problem to With line 4 63
pop out of webbrowser1 control vba6 5 26
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question