>The form in question is a search form. The whole idea is to find a record then return to the main calling form with that record in edit mode. Currently if the user highlights a record then closes the form, either by a close button or by the control box X. It works correctly.
>
>However, as a shortcut, I would like for the user to be able to dblclick on the particular record and it close the form. Just a convenience. I am able to accomplish it with a triple click, but not a double click.
Hi Steve,
We have the similar search form and it works correctly on double click. We have a special textbox class in each grid column which replaces normal textbox. This class invokes grid.DblClick method. (this.parent.parent.DblClick(this))
As others said, you don't have to use this technique in VFP8.
If it's not broken, fix it until it is.
My Blog