Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids and BeforeRowColumnChange Event not trapping chan
Message
De
31/10/2002 03:04:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00717235
Message ID:
00717239
Vues:
18
>I type some text in a Column (say ControlSource=FirstName) and the use the arrow key to move to the next record. This is trapped in the BeforeRowColumnChange event where I issue a command WAIT WINDOW FirstName.
>However my recent changes are not shown. ie the changes do not get committed till I actually move to the next row or column.
>How can I overcome this problem?

with .columns(nIndex).Text1
.Value = .Value
endwith

However be warned above code assumes you haven't changed column orders + column current control is still default text1. For other cases you need to tweak it a little bit.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform