Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double-Click grid does not work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00143380
Message ID:
00143473
Vues:
25
>>To fix this I would put the code in the grid's double click (so it is centralized) and then put THIS.Parent.DoubleClick() in the column double click events and THIS.Parent.Parent.DoubleClick in the column control's double click as well as the header's doubleclick.
>
>This sounds like a good idea. Would it be even better to put the common code in a custom method, rather the the grid's DoubleClick, so that nothing happens if the user doubleclicks on a blank row? Or does the column get the event in that case?

Mark,

You sure do come up with very interesting questions. I would put the code in the grid's doubleclick if that code should also run when any space inside the grid is doublclicked. If the ode should only run when a data area is doubleclicked then I would use your idea of a dedicated method.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform