Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: Some records shouldn't be selected
Message
From
28/10/2006 11:53:40
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164272
Message ID:
01165281
Views:
11
In Grid.AfterRowColChange
nKeyCode = lastkey()
*
do case
   case nKeyCode =  5 && UP ARROW 
      select tbl
      do while !bof() and ac_level != '4'
         skip -1
      enddo
      if bof()
         do while !eof() and ac_level != '4'
            skip 1
         enddo
      endif
   case nKeyCode =  24 && DOWN ARROW
      select tbl
      do while !eof() and ac_level != '4'
         skip 1
      enddo
      if eof()
         do while !bof() and ac_level != '4'
            skip -1
         enddo
      endif
endcase
It is running Perfectly!

Thanks for your help.
Previous
Reply
Map
View

Click here to load this message in the networking platform