Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close a grid on dblclick
Message
 
 
À
29/08/2003 10:22:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00824156
Message ID:
00824624
Vues:
28
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform