Hello Peter,
This is how I do the mouse detection:
Add a left Button double click event to the table. Put the following code into the event. The code uses TableInfoXY () and MouseXPos to capture the column name, column number and column row. The switch processes code base on the column name selected
//called from the left button double click on the data entry table
LColumnName = TableInfoXY (TABLE, tiColName , MouseXPos(), MouseYPos())
LColNum = TableInfoXY (TABLE, tiColNumber , MouseXPos(), MouseYPos())
LColRow = TableInfoXY (TABLE, tiLineNumber , MouseXPos(), MouseYPos())
SWITCH Upper(LColumnName)
I think the sendkey() function may work for the way to simulate CTRL+C. If it doesn't work by using the code in a column event, it might work as code called from the click event of a button hidden on the window and activated as executeprocess(hiddenbutton,trtclick)
Regards
Al