>>Hi
>>
>>I want add a line of code programmatically into the dblclick of 52 columns of my grid.
>>
>>Can anyone point me in the right direction?
>>
>>Many thanks in advance
>
>Check BINDEVENT:
>
>FOR EACH oCol IN thisform.Grid1
> BINDEVENT(oCol,[DblClick], thisform,[ManageDblClick], 1)
>NEXT
>
>*** Create a method in the form named ManageDblClick and put your code there
>
>
>Other way is to create your Own Column Class and use it in the grid.
I am also fairly new to BindEvent, so I have a question: If anything else is already programmed in the specific event (in this case, Column.DblClick()), directly or through inheritance, would that code still be executed? Or would the BindEvent() replace the code, just as if I wrote the code directly and forgot to include DoDefault()?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)