Kenny ---- the code I have in a FAQ here on the UT regarding Valid and Cancel buttons would probably apply to your situation....check it out.
>I am trying to trap the left mouse click on a cancel button during a conversion process. I am using the activex progress bar on a form that I use CREATEOBJECT to get the progress bar form to show during the conversion process. The ON KEY LEFTMOUSE will not run the function I am calling. I replaced LEFTMOUSE with F11 (to test) and it worked fine.
>
>Is there any work around to know when the left mouse button is press, so I can then act upon it?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05