Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AfterRowColChange not firing
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
AfterRowColChange not firing
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01037339
Message ID:
01037339
Vues:
79
Hi

I have a problem with a grid whereby the AfterRowColChange event does not fire unless I am stepping through with the debugger. BeforeRowColChange fires and the grid actually changes row but the AfterRowColChange event does not fire.

Here is part of the trace
 2738.464, gl_int.Activate()
 2738.468, gl_int.cntcustomer.grid.When()
 2738.469, gl_int.GotFocus()
 2738.470, gl_int.cntcustomer.GotFocus()
 2738.474, screen.Paint()
 2738.482, gl_int.Paint()
 2738.505, gl_int.Paint()
 2738.564, gl_int.Paint()
 2740.680, gl_int.cntcustomer.grid.KeyPress(5, 0)
 2740.691, gl_int.cntcustomer.grid.BeforeRowColChange(0)
 2740.730, gl_int.Paint()
 2742.136, gl_int.cntcustomer.grid.KeyPress(5, 0)
 2742.138, gl_int.cntcustomer.grid.BeforeRowColChange(0)
 2742.178, gl_int.Paint()
 2743.210, gl_int.cntcustomer.grid.KeyPress(24, 0)
 2743.211, gl_int.cntcustomer.grid.BeforeRowColChange(0)
 2743.250, gl_int.Paint()
 2744.171, gl_int.cntcustomer.grid.KeyPress(24, 0)
 2744.172, gl_int.cntcustomer.grid.BeforeRowColChange(0)
 2744.210, gl_int.Paint()
 2744.975, gl_int.cntcustomer.grid.KeyPress(24, 0)
 2744.976, gl_int.cntcustomer.grid.BeforeRowColChange(0)
 2745.016, gl_int.Paint()
 2750.148, gl_int.cntcustomer.grid.KeyPress(9, 0)
 2750.150, gl_int.cntcustomer.grid.Valid()
 2750.151, gl_int.Paint()
 2750.154, gl_int.cntcustomer.txtbase.When()
 2750.155, gl_int.cntcustomer.txtbase.GotFocus()
 2750.157, gl_int.cntcustomer.txtbase.Message()
The problem goes away if I set AllowCellSelection = .T.

Only problem is I dont want cell selection.

Any ideas why.

Regards
Geoff Scott
May all your weeds be wildflowers
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform