>>First of all I am trying to get a shortcut menu to pop up when I rightclick anywhere on the grid. I noticed that I need to put the code for the shortcut menu in each of the textboxes to get this behavior.
>>
>>Unfortunately, I have code in the when event of each text box to return .f. so that the grid won't give the appearance of being able to edit the contents.
>>
>>With the when event return .f. the rightclick doesn't fire. Any ideas?
>>I wish I could use the rightclick of the grid...but this doesn't work unless you right click on the lines between the cells....
>>
>>Thanks,
>>Paul
>
>Could you not just make the grid read-only and eliminate the
return .f.?
Grid read-only doesn't make the grid read only. And much less keep the cells from getting focus. I think a transparent shape over the grid is the way to go...
Erik Moore
Clientelligence