How to intercept Mouse events for the columns ?
That's because the control in the column is getting the mouse clicks, if it
is enabled.
Try putting This.parent.parent.click() in the Click() of each Text1 control,
then putting your code in the Grid.Click() method?
Alternatively, sub-class the textbox and put your version into the grid, but
remember to take out the original, else there is a performance penalty.
--
Regards
Simon Clark
SJC Systems Limited
Northampton, UK
Quote:
>I know that I could use several events on both the header and the column,
>but let's suppose that I can't use methods on them because I can add or
>remove my columns from the grid.
>What could I do to know what header or column has received the event ?
Mouse
>events from the grid aren't generated when I click over a header or
>column...
>Andrea Brajuka