Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why EOF crash in grid?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Why EOF crash in grid?
Miscellaneous
Thread ID:
00049859
Message ID:
00049859
Views:
107
This code segment is in a grid BeforeRowColChange to handle keyboard moves for highlighting. The page up works fine, but page down has an EOF crash:
case lastkey_fn = 18  && page up
  skip -10    
  if bof()
    go top
  endif 
case lastkey_fn = 3  && page down
  skip 10
  if eof()
    go bottom
  endif
The code works fine outside of grid, and up/down arrows work fine in grid also. Any ideas?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Next
Reply
Map
View

Click here to load this message in the networking platform