Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid AfterRowColumnChange event not firing
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01178163
Message ID:
01178970
Views:
20
>AfterRowColumnChange fired only when the grid have the focus.
>
>Check if the current active control lost the focus when the active page is changed,
>I guess it doesn't.
>
>The second click on the grid force the lostfocus.
>
>This is a known Pageframe's bug.
>
>Check if the VFP application code set the ActivePage = .., use Page.SetFocus ( but Setfocus have another bug )
>I doesn't remember exactly.


I manually did a Grid.SetFocus() in the page's activate method and that seems to solve the problem. I agree that this is obviously a bug. I don't see how it couldn't be. When the record pointer moves in the grid, and the highlighting moves with it, yet the Before/AfterRowColumnChange methods don't fire .. it's a bug!!
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform