>I have a form which contain a grid and in the init of the form I created 13 columns
>automically. How would I programmatically create rightclick() for all 13 columns?
In addition to the answers you've already gotten, if you're using VFP8, you can use BINDEVENT() to bind the right-click of each column to a form (or other object) method.