Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AllowAddNew property of grids
Message
De
07/09/2002 05:46:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/09/2002 15:38:19
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00697738
Message ID:
00697882
Vues:
16
>Hi All,
>
>I am experimenting with a grid's AllowAddNew property. When I set it to .T. and use the down arrow key from the last row of the grid, a new blank row appears as expected. This is ok except for the fact that I need to "intercept" this event and setup some of the fields in the underlying table.
>
>How do I do the latter? What event is fired so that I can take action?
>
>TIA.
>
>Mike
>
>PS I'd be interested in other opinions regarding adding new records using this feature. Good or bad experiences??

Mike,
With AllowAddNew, what distracts me :
-you need to be on the last row
-If you're not controlling it in BRCC pressing multiple times leaves you with multiple new empty rows.
Instead I use Ctrl+DnArrow to add. I intercept that in BRCC, check if can add and can leave current row. 3 key events are BRCC, ARCC and Valid.
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