>Hello all ,
>
>I am trying to use the right click menu shortcut to display an .mpr file in my grid ,
>however it won't work if i give it in the right click method of the grid.
>
>However it works in the column method of the grid.
>Does it mean that I have to give the same code of execution in all the columns of the grid. That
>would be a sad way of doing.
>
>I am sure there is some tip out there , do let me know all the experts.
>
>Ajay Sanghani
>WinSmart Solutions
>Building Software Better and Faster
>
http://www.winsmart.com>
>email : ajay@winsmart.com
The grid's RightClick() is not fired when you click on any column, instead the RightClick() event of the object contained within the Column is called. You could do the coding in the Grid's RightClick() and call the grid's RightClick() from each object of column.
Another alternative would be to create a class but it would depend on the useage of your grid.
Good Luck
Kamal