-
this is somewhat complicated for me
i have 2 forms
form1, form2
on form one
if i RIGHT click on the mouse i want form2 to show
no problems there
when form2 shows..
there is buncha stuff on there.. clickable times..
no problems there
when form2 shows i want the mouse to be over that form somewhere
and if the user moves the mouse out of that form(without selecting an item)
then i want form2 to unload
if anyone has any other suggestions, i deas
greatly appreciated
thanks
-
put a global variable in a module, call it F2Close and make it Boolean. Then in the code which loads Form2, set it to true, then (in the code of Form1) put:
Code:
Private Sub Form_MouseMove('All the stuff here which I can't remember)
If F2Close Then
Form2.Hide
F2Close = False
End If
End Sub
I hope this works,
Me.