Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid, Double Click
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115152
Message ID:
00115521
Vues:
14
>>I wish to trap DblClick on a normal grid attached to a cursor. The event code should call an "Okay-Click" which closes the grid-form returning the current record's data. I am using the grid to show a help-on-code form, so when the user double clicks on a record it should return the corresp. code. Grid.DblClick is triggered if outside/beyond the grid's filled columns but has no effect when the mouse is on any of the filled columns/rows.
>>Can anybody help? TIA
>
>You need to place Double Click code in each of the controls used in the grid - i.e. each text box
>
>The double click event of the grid is only fired when you click in the grid itself - which is the area with no records in it.
>
>HTH

Nishit (via Ian),
Easier than placing the code for each control is to call the Grid DblClick method from each control's DblClick. That way changing the code is much simpler.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform