>> Ko, it is not needed for proper working of DblClick. Sparse affects representation only, not events. For example, it is useful to show checkboxes in column, not in current line only.
>Yes, you are right.
>Just thought that it would work this way.
>You remember me of a problem i had/have to display the value of a control in the grid on mouseover which didn't work either that way.
>
>But then you can have the doubleclick event propably in the grid itself too and determine with the mouse position what to do.
>But probably the column will take it first. in that case you have to add your custom column class. (You can only create a column class in code)
The first item that gets events here is control in column. I also do not see why column control even need to be subclassed, because evrything you need could be done using control, header and grid class. Column class subclassed causes VFP crash often, as well as it is very hard to maintain and use. Header can be made as class in VCX library, and it can be put into column in design-time.
HTH.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.