>Can someone explain to me how FoxPro handles the click events on grids?
>
>Specifically, I'm trying to call the right-click event on the grid as a whole, but it only recognizes the the code if I put it into either the column or the textbox level. I don't want to have to do this for every column and text box if I can just do it once for the grid.
>
>Thanks,
>John
John,
Goes like this :
If row has focus than textbox else column.
Grid gets click events only if you click at a 'dead' zone like after last column or last row.
You could either use Nick's click transparency approach (check downloads area) or use your own column,textbox (and other control) class instead.
Cetin