Hi!
Gird RightClick event fires only when you right click on the empty space in the grid or some other parts. When you click on the cell with data, other events are fired:
Grid.ColumnXXX.Text1.RightClick
You need to put a call of the form method inside of the control that is inside ocolumn, and do this for EACH column.
Of course, there are solutions related with such things, you can read more in the VFP Grids Part II article (September UT magazine).
>hi vlad!!
>
>good day!
>
>In the right click event of my grid control (grdItem) when i try to call the method defined in the form, it simply doesn't work
>
>i tried it using following methods ..
>
>in the right click event of grid
>
>1) thisform.methodname()
>
>2) frmname.methodname()
>
>3) parent.methodname()
>
>but all in vain.
>
>So please help..
>
>Looking forward to ur reply.....
>
>Regards
>Sunny
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.