Answered right click not functioning

  • Saturday, December 13, 2008 2:52 AM
     
     

    I'm using a grid and my on click works fine, however, the right click event does not work. It does the same thing as the on click. Does onclick not know the difference between a right or left click? How do I fix it?

     

    Thanks

All Replies

  • Saturday, December 13, 2008 4:38 AM
     
     


    Are you using natvie VFP grid.
    if you are using vfp grid then put your code in rightclick event of grid.column.text1

  • Saturday, December 13, 2008 12:01 PM
     
     

    What is OnClick? That is not a native VFP method (I know we use OnClick() in our classes but that is a custom method called from Click()).

    VFP has separate Click() ( = LeftClick) and RightClick() events

  • Sunday, December 14, 2008 3:24 PM
     
     Answered

    Maybe I should be more clear. I have a form and on the form it a grid and the grid has a Click Event Method. This part works. On that same grid is also a Right Click Event Method. It does nothing even though I have it programmed. I have also tried programming the the Right Click Event Method for the column text. Unfortunate, I didn't know was I needed to program the Right Click Method for the column text for all the columns. This did solve the problem.

     

    Thanks