Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regarding grid focus
Message
From
20/05/2002 15:00:07
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
 
To
20/05/2002 14:11:48
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00659017
Message ID:
00659041
Views:
23
Actually, I got a tip from someone on the UT and created a logical var that is set on the WHEN of the Gird and un-set during the VALID. It does seem to indicate a proper exit from the grid, but there was one last call to BeforeRowColChange that fired before actual exit...?

(PseudoCode only)...
WITH Grid1

Proc WHEN()
.lAbouttoLeaveGrid=.F.
EndProc

Proc VALID()
.lAbouttoLeaveGrid-.T.
EndProc

Proc BeforeRowColChange
If lAbouttoLeaveGrid
 WAIT "Bye-Bye." WINDOW NOWAIT
Endif
EndProc
HTH,
Previous
Reply
Map
View

Click here to load this message in the networking platform