----------------------------------
The Missing Right Click
----------------------------------

With all the power and flexibility of Foxpro there are still so many 
annoying things to deal with. One of these annoyances is when you go 
back and reuse a previous command in the command window.  You can use 
the mouse to locate the command, but you have to press the enter key 
to execute the command.  It would be a lot easier if you could double 
click or use the right mouse key to execute  that command.  Unfortunately 
whoever designed the Foxpro user interface did not think so.   

Here are two simple steps you can use to make the right button on your 
mouse act like the enter key:


Step 1
--------
Use the Foxpro Modify command to create the following PRG files:

Let's call the first one RCLICK.PRG and it should contain this line:
   ON KEY LABEL RIGHTMOUSE DO EKEY

Let's call the next one EKEY and it should contain this line:
  KEYBOARD CHR(13)


Step 2
--------

After you run Foxpro, type DO RCLICK, or include RCLICK after the FOXPRO 
run command.  From now on you can click the left mouse button on a command 
in the command window  to select it (i.e. put the cursor on that line) 
then press the right mouse button to execute that command.  




Fadi Baroody (CS# 76366,1036)
USC-Coastal Carolina
Computer Services Division


