Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtB
Message
From
12/02/2002 12:04:59
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00618623
Message ID:
00618916
Views:
22
Chuck,

oops.... now that I figured out why highlighting wasn't working before I can see a boo-boo
IF TYPE("THISFORM.ActiveControl") == "O" AND UPPER(THISFORM.ActiveControl.BaseClass) == "GRID"
*-- If on an active object, and the object is the grid in myForm...
   IF INLIST(LAST(), leftarrow, rightarrow... leftclick...)
      *-- IF the last keys pressed were some of the cursor keys leftarrow, rightarrow... 
      *-- don't forget TAB, SHIFT+TAB as well...
      chucks_keypressevent() && fire the new method we created
   ENDIF
ENDIF
Notice I changed the <> to == on the first line... Sorry.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform