>Hi all,
>
>I have a grid build in the fly with a select statement, now i need to put a shortcut menu in the grid.
>
>The ShortCut menu is for the users to remove the columns he wants. I try several ways but the shortcut dont't show up, even if i put them in the grid RightClick method. Is there any way to do that?
>
>Thank's
>
Hi João,
I've just made a simple experiment. I created a form with a grid and I put do men1.mpr in Grid.RightClick() method. The only case I'm getting this menu, if I click on the "free" area of the grid (e.g. the place without columns). IOW, columns rightclick takes precedance over grid. You can either create custom grid column or custom header, so your menu will appear after clicking on the header.
If it's not broken, fix it until it is.
My Blog