Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT unreliable w/grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00144238
Message ID:
00144449
Views:
21
>
>Here's a program that demonstrates the problem:

It looks like the behavior of grids that was probably designed into them turned out to be a messy jumble for VFP to maintain. I tested your code and you are right.

I also figured out why I never see this behavior... in any action that I perform in a grid, the SetFocus is the last thing I code. So inthe click event of a button, if I
SELECT whatever
DELETE
THISFORM.mygrid1.Refresh()
THISFORM.MyGrid1.SetFocus

I never see your problem.

While the inconsitency is annoying, remembering its presence and avoiding the situation looks like enough of a workaround.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform