>> >I'm trying to implement a popup menu, which gets activated by
>> right-clicking on a grid.
>> >My routine is in the Grid's right-click event, but when editing the grid,
>> the right-click event is
>> >catched by the controls inside the grid. Is there a way to activate
>> instead the Grid's right-
>> >click event instead of me putting my code in all the controls
>> right-click?
>>
>> Basically, you need in just one line of code in each control right-click
>> event:
>> Thisform.myGrid.RightClick()
>> Moreover, you can build your own class (textbox) and use it as grid
>> controls.
>
>I think:
>
>this.parent.parent.RightClick()
>
>would be more portable (suppose you move the grid on to a pageframe).
>
>/Paul
Yes, that's right too (I really presumed to get such response typing the answer).
Edward Pikman
Independent Consultant