in the onclick event I execute the code for the left mouse button, but how do I also execute a code for the rightmousebutton.
Something like this.
TForm1.Button1Click(Sender : TObject);
if (leftmousebutton clicked??) then begin
if (Rightmousebutton clicked??) then begin
Anyone knows the code for this...Thanks