Link to home
Start Free TrialLog in
Avatar of andichilds
andichilds

asked on

Mouse Up Mouse Down

how do i stop a mousedown procedure when the mouseup is started.
Avatar of Erick37
Erick37
Flag of United States of America image

What do you mean?
Can you give an example of what you are trying to do?
Avatar of matrix717
matrix717

why don you try putting a variable for example "pod" in the declaration part on the form, it can be an boolean

Then in the begining of the mousedown procedure put an if like this:

if pod=true then
exit sub
end if

Now in the beginig of the mouseup put pod=true so whe mousedown procedure try to start it will "exit sub", then is up to you where to enable this procedure again just puting pod=false

I hope this helps you...
ASKER CERTIFIED SOLUTION
Avatar of paul_tsekov
paul_tsekov

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