Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Knowing which of 2 grids has the focus?
Message
From
05/11/2001 12:11:05
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00577418
Message ID:
00577439
Views:
20
>I didn't notice, you don't use buttons. How do you process F3, in Form's KeyPress? This technique is still valid, but you probably don't need an additional form's property. Just check thisform.ActiveControl in KeyPress method of the form.

Hi Nadya,

ActiveControl sound like it should work.

The help says: Object.ActiveControl.Property[ = Value]

I need: FormControl = THISFORM.ActiveControl

If FormControl == ???
Do ABC
ELSE
DO XYZ
ENDIF

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform