Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid - AfterRowColChange or Click
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid - AfterRowColChange or Click
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01103964
Message ID:
01103964
Views:
118
I have a Grid with full row selection. I want to run some code when the user clicks on a row or uses the keyboard up/down arrows.

If I run the code in the AfterRowColChange Event it does not fire if the user clicks on the first row. I can also trigger the code in the Click method but I do not want it to run twice.

I thought maybe I could use this code in the Click but RowColChange is always 0 in the click:

IF this.RowColChange= 0
this.AfterRowColChange()
ENDIF
Next
Reply
Map
View

Click here to load this message in the networking platform