Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Dbl Click in a grid
Message
 
À
11/12/1999 20:26:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00302214
Message ID:
00302369
Vues:
29
>I think he means that you put a commandbutton in the form.
>If you set the default prop of the commandbutton to .t., when you press the enter key , the commandbutton click will fire.
>

Luciano, thanks for your reply.
When you press the enter key..... Does this mean 'Clicking' on this command button, which will not be on the grdid ? . This will not be very intuitive to the user who wants to select a row from the grid, rather than clicking on a command button , which is outside of the grid ?



>And for the dblclick you sould subclass all the base controls, add code to the doubleclick method of the subclassed controls, and add them to the grid.


If I do this, am I right in saying that once a user double clicks on 'Any' control on the form, the double click will fire. There is then no way of telling that a doublle click was done 'on' the grid, or from which grid if there is more than one grid on the form ?

Regards,

Gerard
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform