>>I subclass a grid with columns count = -1. Then I drop it to a form. After that I change the column count value to 4 and replace the 4 textboxes that the grids automatically inserts with my subclass of a custom textbox. In my custom textbox I have code in the Dblclick event that must trigger when the user doble click it in the grid. The problem is that when i run the form with the grid that contains my custom textbox in each of the 4 columns the dblclick event does't fire when I double click it.
>Also when you are in the row with the textboxes?
>To have it in all rows set the sparse property to .f. to have your custom textbox in all the fields, instead of only in the active row
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.
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.