Link to home
Start Free TrialLog in
Avatar of ketapillar
ketapillar

asked on

Multiple forms locking....

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.
Avatar of AzraSound
AzraSound
Flag of United States of America image

maybe??

frmOrders.Show
frmCustomers.Enabled = False
ASKER CERTIFIED SOLUTION
Avatar of glass_cookie
glass_cookie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ketapillar
ketapillar

ASKER

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
Thanks for the points : )