Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids and default command button
Message
De
04/07/2002 05:56:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/07/2002 05:48:03
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00675278
Message ID:
00675279
Vues:
11
>Hi All,
>
>I've got a form with a grid and a command button that has its default property set to .T.. Any ideas how I catch a return when focus is on the grid to the command button's click?
>
>Regards
>
>Paul

Ctrl+Enter directly works.

You could catch that setting form.keypreview=.t. in form.keypress. Or in afterrowcolchange you could check :

if !mdown() and lastkey()=13

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform