Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close a grid on dblclick
Message
 
 
To
29/08/2003 10:22:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00824156
Message ID:
00824624
Views:
29
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform