I see exactly what you are saying. It seems silly to me that I will have to add this call to the centralized code to 3 places for each column in the grid, simply because VFP ignores the double-click. If I have 5 columns, that's 15 places!! Am I the only person who has tried to use double-click for this purpose? I would have that that the programmers would have forseen the need for this.
>>I put some code in a grid.doubleclick() method, but the code is not executing when I double click a field in the grid.
>
>Matt,
>
>Teh double click occurs in the immediate control under the mouse. The grid's double click only fires when the double click occured in an area of teh grid that is empty, that is either empty rows at the bottom or emtpy are to the right of the last column.
>
>To fix this I would put the code in the grid's double click (so it is centralized) and then put THIS.Parent.DoubleClick() in the column double click events and THIS.Parent.Parent.DoubleClick in the column control's double click as well as the header's doubleclick.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only