Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disrespectful grid.
Message
De
28/05/1997 16:44:36
 
 
À
28/05/1997 16:28:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033918
Message ID:
00033928
Vues:
41
>When a grid on the form has focus, hitting enter advances the cursor to the next cell instead of clicking the default button on the form. Is there a way for my default button to get clicked (or a workaround) even when the grid has focus.

Set Form.KeyPreview=.T.
and fire cmdButton.click() from Form.KeyPress event (filter here for Enter key).
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform