What is it that you want? the code??<BR><BR>jsut write a function and call that function in the OnClick event of the form...what is it that you dont know how to do.<BR><BR><BR><BR>you know how to call a function in the onclick event of a button right...the same way in the onclick of the form. it is the same thing....<BR><BR>the only problem you MIGHT have is how to trap the right click.....if you SEARCH for that and are STILL stuck if you post again we can help you with that.<BR><BR>
What I need and cannot find is how to distinguish a right mouse button from a left mouse button. I am assuming that there is some sort of constant value defining a right button, but what that is and what variable you compare against is what I cannot find. I know that I would need to define a function that is used in the OnClick parameter of whatever control that I am waiting to use as the trigger. But it is the finer details of the variable to check and the value to use is what is stumping me.