Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double-Click grid does not work
Message
From
02/10/1998 15:44:55
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143380
Message ID:
00143426
Views:
17
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
Map
View

Click here to load this message in the networking platform