Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AfterRowColChange not firing
Message
From
31/07/2005 08:40:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
AfterRowColChange not firing
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01037339
Message ID:
01037339
Views:
78
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
Next
Reply
Map
View

Click here to load this message in the networking platform