i think, as you have probably discovered, the option_click event fires when it is set to 1 automatically. You may be able to write your procedure for the button in the mousedown event instead, and then enclose the statement in the following:
if button=1 then
end if
this will ensure this part of the procedure only fires when it is left clicked.
I tend to implement a form level boolean which I test in the click event, and only continue with the rest of the event handler if the boolean is false... Then, before changing the value in code, I set the boolean (and clear it afterwards...)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.